Internal Oscillator Configuration help - PIC24F16KA102 (alex201)
Hello,I am confronting with an embarrassing issue : I can not get my PIC24F16KA102 run at 8MHz (internal oscillator).These are my configuration bits:// FOSCSEL#pragma config FNOSC = FRCDIV #pragma...
View ArticlePIC24HJ128 UART1 issue (inky)
Hi all,I'm new to the PIC processors and am a bit lost as to the issue I see. I have looked at several online examples and read the UART section of the datasheet. UART1 and UART2 are identical code...
View ArticleCTMU for accurate time measurment (michael.dale)
Hi, I am trying to write an fsk demodulater, the two frequency's are 222khz and 250khs, I can just count the pulses within a time frame 50.5 us per bit but i thought a more accurate way would be to...
View ArticlePIC24 external interrupt INT1 problem (zijo)
PIC24FJ64GB002 compiles with XC16 ok but it never interrupts when triggered by stimulus switch on port RA1.If I set bit to IEC1 = 0x0010; then it goes to interrupt function.Did I miss something?...
View ArticlePIC24F: Deep Sleep : DSWDT and Internal Oscillator (dimitris_c)
Hello all,I'm using the PIC24FJ128GA202 @ 3.3V with XC16 and internal oscillator (FRC @ 8Mhz) I am trying to enter deep sleep and exit using the DSWDT but without success. In the code below I am using...
View ArticleFlash data consistently corrupted well before 100k cycles... Most likely due...
I'm not able to reliably write and read from flash after about 1000 cycles and I'd like to know if the way I'm backing up and restoring data causing the issue. Upon programming a microcontroller for...
View ArticleFirmware update using RN4020 BLE (NareshR)
Hi,I have built a consumer product using PIC24FJ1024GB606 which also contains RN4020 BLE. The products are sold to customers and now, I need to update my firmware of the micro-controller. How can I...
View ArticleRegarding TFT LCD palm tech (winikul)
Hi I am using PIC24FJ128Ga310 and want to interface Palm Tech LCD 3.5" to it. The LCD has SOLOMON SYSTECH's SSD2119 as controller builtin .I am not able to initialise it . The code of initialisation is...
View ArticleWhich PIC24 for Temperature Scanner... (NIMIT VACHHANI)
Greetings People.I am looking for some PIC24 micro controller for my temperature scanner. The basic features that i want from the micro controller are usb host compatibilitysd-card interface...
View ArticleAll flash address are zero (MicroStef)
Dear all We got a number of PCB's back from customers that stopped working and when we read out the content from the CPU(PIC24FJ256GB108) the whole flash was "zeroed" , that is it was 0x000000 on ALL...
View ArticlePIC24FJ256GB410 Unable to write flash (maarten a)
Hi, I have been trying in a couple of ways to do read/write operations to flash,im able to read the flash and clear a page but i'm not able to write to it.I followed the examples from DS30009715C.pdf...
View ArticlePIC24FV16KM202 SCCP5 compare mode problem (sandeep.akkanapragada)
Hello all, am using PIC24FV16KM, Am trying to capture absence of clock input through sccp5 module. The controller is running on PLL at 32 MHz. clock input is of 128KHz, is fed to sccp4 as input capture...
View ArticleHelp with Output Compare Interrupt (xxJaRxx)
Hello, I've been trying to solve this for a few hours now by reading datasheets and searching but having no luck. Basically I'm using the output compare 2 module on my PIC24FJ64GB002 in dual compare...
View ArticleUnable to initialize 16x2 LCD (4-bit interface) (marshaul)
Hello, all. I've been having a devil of a time getting my 16x2 LCD display (mfg. part # KST1602B-W) to initialize via my PIC24FV32KA301. The data sheet seems somewhat contradictory about the...
View ArticleSending string via UART (fnans16)
Hi everyone, I have an unsigned int and want to put the content in a string and send it via UART to the COM port (basically I want to output the ASCII values on my PC). However it's not working. Can...
View ArticleHelp wit a Data Logger ( 1 wire ) (didyi)
Hello, i want to use a data logger ibutton DS1922. is it possible to find her scripts on assembly to run it. i did one to a search rom function but it doesn't work. i'm using a pic16f690. Thank you..
View ArticlePIC24FJ1024GB610 unable to write second partition flash (lyersin)
Hi, I am using the PIC24FJ1024GB610 in dual partition mode. I am trying to write a bootloader for it. So far I was able to write in flash into the active partition (RTSP), but as soon as I try to write...
View ArticlePIC24F Default for FICD register (PCGx/PCDx) config (danjx)
Am I missing something or don't I need to know which PGC/PGD pins to wire to for in-circuit programming a new chip from the factory?In particular, the PIC24F04KA200 and the PIC24F16KA102. The data...
View ArticleDelay function (sreegin)
hi, How to use delay function for PIC24F16KL402 in MP Lab v3.26.i need to create a 1sec delay without using any timers.Any suggestions. regards..
View ArticleCan't write Reset Vector (Stri_)
Hello. I'm working on PIC24 bootloader, based on AN1157. And I got a problem: I can program any part of PIC's Flash, except Reset vector (addresses 0x000 and 0x002). I made test routine, which writes...
View Article