Cannot find Assembler for PIC24..... (lip01)
Hallo!I'm programming a PIC18f with MPLABX in 8-bit-Assembler. Thats works fine. When i'm ready, i wish to change to a PIC24F-CPU with the same programm, to take advantage of the better abylity in...
View ArticleHow can I create a table of handles to functions in flash? (kalauffenburger)
Hello,My target device is: PIC24FJ128GA308.I would like to create a table of function pointers and have it available at boot time. The table is created at compile time. I am using the --handles and...
View ArticleGetting started with PIC24F bootloaders (Mel0n)
Hi all, I have been reading through this forum for over a month and finally decided to make an account and post because I am getting lost in information. Quick BG. I am a Software Engineer, with hardly...
View ArticlePIC24 - ISCP circuit check please (bottch)
Hi All! I am currently in the process of designing a final PCB for my final university thesis. I haven't had a great deal of experience with PIC's or ISCP. As our board is to be manufactured...
View ArticlePIC24FJ128GB110 Framing error (CoderX)
Hello All, Is there any way to handle FERR bit? Controller reads first 3 bytes of the uart packet wrong when Ferr bit is set. Thus, entire packet gets corrupted. Baud rate is 2400 @ 16Mhz internal...
View ArticleHow to set fixed stack location on pic24? (kalauffenburger)
Hello,How do I set a fixed stack location on a PIC24 device?I have read the Assembler and Linker Utilities guide, and found how to fix the size of the stack, and it implies that the location can also...
View ArticlePartially multiplexed address and and data for SRAM interface using pic24f...
hello,I am using pic24fj256da210. i am using demultiplexed mode for interfaciung SRAM of 512KBhow to implement Partially multiplexed address and data used for interfacing SRAM to free some of address...
View ArticleCan someone help me understand the PWM function? (SetDCOC1PWM()) (koreabell)
Okay I am trying to control servo and motor (using PWM motor controller) with PIC24EP128GP202 chip, and I'm confused with SetDCOC1PWM() function. I am using 16MHz crystal which will make Fcy 8MHz, I...
View ArticleSPI buffer is always read as Null (roland bra)
Hi,I'm using a PIC24FJ128GB204.The SPI module is used in audio (I²S) mode and takes the slave part. Clocks are provided by an ADC (48kHz LR-clock, 6,144 mHz bit clock). For testing the output pin I...
View ArticlePIC24FJ128GA306 Operating Currents (peternarbus)
Can someone please tell me what the VDD and AVDD current specs are at 8 MHz? Thank you,..
View ArticleBootloader Download stops in the middle (moldev)
I have a PIC24FJ256DA210 and the Bootloader from AN1157 running on it. I can download the file with the P24QP.exe. Now I´m trying for some day to implement a code on my main processor to download the...
View ArticlePIC24EP512GP202 Won't switch clock to FRCPLL (Supercap2F)
Hey Everyone! Well recently I have started my first project with a 16-bit micro, and I am having some troubles. So first of all, I want to try and run the micro as fast as I can just using the internal...
View Articlepic24f to pic24f communication using 3 wire spi without CS (Pravin Patil)
I am using two pic24fj256da210 mcu, pls provide any idea about how to set up 3 wire SPI communication between two pic24fj256da210 MCU without using chip select...
View ArticleCTMU - PIC24FJ128GC006 (HerBY)
Hi, im currently trying to implement a CTMU for a capacitance measurement. I want to measure soil moisture for an automatic irrigation system, using capacity measurement (a board with wide traces). The...
View ArticlePIC24F16KA101 Deep Sleep (rc_mhcp_man)
Good day, I have some sleeping issues. I start Deep Sleep with the external interrupt active as follow:void startDeepSleep(void) { //Set interrupt 0 to input. TRISBbits.TRISB7 = 1; //Enable Deep Sleep...
View ArticlePIC24F sends SPI data to Flash Memory and all null values returned (Meems)
Hello, So I'm having a problem using SPI on the PIC24FJ64GA004. The only thing I'm trying to do right now is read and write to a flash memory chip (here's the datasheet if you want to have a look: )....
View ArticlePORT I/O Pins default shows 1 when they were declared as inputs (anjaneyulu...
I am using PIC24FJ128GA202. In port pins some are shows 1(high) when they were declared as inputs and some shows 0(LOW) as usual. Please help me. I am struggling a lot. Thanks in advance...
View ArticlePIC24 UART Rx with PPS Issue (Toll)
Problem Description:I have an application I am developing on a PIC24HJ32GP302. I had to re-spin my PCB to remap some I/O. Two of the signals that moved were UART Rx and Tx which I use with UART1...
View Article32 bit int arithmetics on pic24f (boanerxe)
Hello everybody. I'm getting wrong results when trying to multiply 32bits numbers (using int32_t from stdint.h) in pic24f. Also getting FF entering from the left when trying to perform this operation:...
View Articlecpu sleep mode issue (p.priya)
I'm using dspic30f3014. I've not enabled sleep mode but still the CPU goes into sleep mode.what could be the reason for this?..
View Article