Timer 1 not running on PIC18F27J13
I can't seem to get timer 1 working with an external osc on timer 1 on a PIC18F27J13 . Code works fine with the internal clock. I have a 32768 crystal across T1OSO and T1OSI with a 12pf cap going to...
View ArticleXC8 V2.00 compiler in war with V1.34
I encounter many of problems upgrading compiler from V1.34 to V2.0. PIC16Fxxxx The very old 12f675 programs (from 2010) after import goes well. Existing software written in V1.34 is generating a lot of...
View ArticleSTM32L0 standby mode and wakeup pin
Hi guys, I'm new to embedded works. I am using STM32L0C8 MCU and STM32cubemx to generate hal driver for my first project. One of the feature of the project, is I'm trying to configure it to go into...
View ArticleST doesn't provide IDE for stm32 MCU?
Hi guys Just bought a STM32f303 NUCLEO-32 board to play with, went to ST's website to download an IDE. But can't find any, doesn't look like ST is providing an IDE??? Or am I not looking properly?
View ArticleSTMicroelectronics Upcoming events and technical seminars
Upcoming Events STM32 one-day workshops in North America
View ArticleArduino Mega 2560 two interrupt issue
1. I am using arduino mega 2560. Connected are 20 segments together, refreshed every 500us. After every 500us, one segment is enable & written. 2. Also a PS2 keyboard is connected to read keys...
View ArticleNightmare trying to install Code Composer Studio
I've been struggling with CCS for nearly the whole day. I finally got the bloody thing installed with the offline installer after god knows how many error messages, but now when I try to run this junk,...
View Articlewhat is the use of empty while loop in embedded programming?
what is the use of empty while loop in embedded programming? e.g while(test expression); actually i can't understand one line from this code /* Generating a delay of 1 ms in PIC18F4550 using Timer1...
View ArticleLC meter coding problem
Hello,guys I have a code for LC meter using nokia 3310 display and PIC16F876A microcontroller using MPLAB . Which is written by some other person. #include "main.h" #include "lcd3310.h" #include...
View ArticleCompass module XYZ analysis
Hi, I'm programming a PIC 18L4620 with a compass module AK8963C using Oshonsoft (BASIC) I have the PIC READing the module and outputting serial DATA. (see txt) I have programs Magmaster and Magmaster...
View ArticleQuestion about timer/counter in mcs-51
I learnt how to use timer/counter in mcs-51 by setting some values in register TMOD etc. I wonder, what is the purpose to set the value of register THx or TLx to negative when we want to use timer...
View ArticleAttempting low voltage programming (MCLR) on PIC18F24K22 and failing...
A little background... Due to my PICKit2 going up in smoke I thought I would give a try at programming a programmer. I have a PIC18F2550 set up to reprogram itself on the fly along with a few other...
View ArticleTrying to understand registers on MSP430G2553
Code (Text): #include <msp430.h> void main(void) { WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer P1DIR |= (BIT0+BIT6); // P1.0 (Red LED), P1.1 (Green LED)...
View ArticleAny softwares to compare 2 hex files
Hi, I have two hex files i need to know whether they are similar or not. What are the software available to do that? These hex files are related to Nordic nrf51.
View ArticleHow to connect 74hc595 module from China to SPI
Hello, I have this module from China: https://www.dx.com/en/p/74hc595-8-bit-breakout-shift-register-module-for-arduino-454811 and I wonder how to connect it to SPI. I think I should connect OE to low....
View ArticleConnections of module bluetooth RN4678
Hi everybody i'm using this module, i be able to connect with my smartphone but there isn't the bits over the TX pin. My schemartic is in the image. Now i'm not using the PIC uC so for Wake up pin i'm...
View ArticleBlinky prop for Comic Con
I'm making a little blink led prop controller for my kids Comic Con costume. I've got my best Dr. Strange T-shirt for the event and Stan 'The Man' Lee is there for an Autograph on one item of your own....
View ArticleNoisy HC-05
Seeing this on the transmit out pin of an HC-05. View attachment 163738 It seems to be enough to trigger the receive interrupt flag on my scope, Far worse if I am sending data to the device. P,S, I...
View Articleconfusion about PIC24F program memory organization
Hi guys We need to use a PIC24 we need a lot of IOs. Never use a PIC24 before, so I google and found this doc from Microchip: PIC18F to PIC24F Migration: An Overview There is an interesting graph on...
View ArticleWhy is my latch takink so long to turn on in somecases?
The top trace represents my sensor input into a CCP. It is Hall Effect sensor That is detecting the rotation of a hard drive platter running at a fairly constant RPM. Somewhere around 800 RPM. The...
View Article