PIC24F CRC module calculation not equal software one (Naingenieur)
Hi Everybody, I'm working with a PIC24FJ256DA210. I would like to use the CRC 32 module with 8 bits data length to replace the software calculation but when I test it, the 2 results are differents. I...
View ArticleRTCC module and VBTBOR (eml)
I'm using a PIC24FJ128GA306 and want to detect when Vbat drops low enough that the time within the RTCC module stops advancing but not so low that RAM retention is lost. I want to detect this condition...
View ArticlePIC24F16KL402 CCP2 Interruption issue (ascmartins)
Hello! This is my first post on Microchip forums. So, I need some help regarding CCP2 interruption (Input compare). The issue is that code goes to an endless loop inside default interruption on...
View ArticlePIC24F Deep Sleep wake-up (Graham1904)
I have a problem that I cannot solve. I put the PIC24F32KA301 to DEEP SLEEP using: asm volatile ("bset DSCON, #15"); asm volatile ("nop"); asm volatile ("nop"); a
View ArticleCheck of PPS assignments (mikenycz)
I had some code working for a PIC24FJ256GB210 processor that involved UARTS. I was just informed that the actual processor that will be used is a PIC24HJ128GP202. So I am going through the PPS...
View ArticleUART and RS485 pins (PIC24FJ64GA306) (stoyanoff)
Greatings. I can`t find the RX and TX pins of PIC24FJ64GA306. I can`t find the RS485 pins either. Can you give me more information about this RS485 and how to make the schematics?? Which AN should I...
View ArticleADC prescaler (kurtclark)
Regarding the 24FJ128GC006 The data sheet states that ==================================== ADCS<7:0>: A/D Conversion Clock Prescaler bits(2) TAD = TSRC * (2 * ADCS<7:0>) 00100000 = 32 *...
View ArticlePIC24F documentation capacitor symbols? (reganmaxx)
Hello, Im going through the PIC24FJ256DA210 user guide and there are 2 different symbols for a polarised capacitor one with a positive sign and one without. So to clarify this is a non polarised...
View ArticleMulti-Thread experience on PIC24 is needed (apku04)
Hello Guys, I once again need your expertise . i am currently working on MAC protocol design especially CSMA/CA. We have a simple protocol up and running on a PIC24FJGB002. However, we now want to...
View ArticleI2C slew rate control for scl > 400KHz? (sjb741)
When operating on a 400 kHz bus, the I2C specification requires a slew rate control //DS39702B-page 24-48 For other bus speeds, the I2C specification does not require slew rate control "For other bus...
View ArticlePWM output enable on PIC24F16KM202 (PaulPi)
Hello, I'm dealing with PIC24F16KM202 and I'm trying to enable its PWM module (SCCP5). I have set the following registers: CCP5CON1L = 0x8005 CCP5CON1H = 0 CCP5CON2L = 0 CCP5CON2H = 0 CCP5CON3H = 0...
View ArticleUART on PIC24FJ64GA106 (Active)
All I am a novice developer and am struggling to get the UART on a PIC24FJ64GA106 to transmit or receive anything. After diligently following every example for other PIC's in the range (and recompiling...
View ArticlePIC24 Input Capture interrupt never fires (gwa_SanDiego)
All: I'm ready to solve this with my checkbook and I've spent more time than I want to admit scouring through "input capture" threads which are long on issues and short on posted solutions. Most...
View ArticlePic24f DMA and EDS - let's get the facts (pwgregory)
Ok, I've seen posts where people have tried to get the DMA to work with EDS memory. The documentation states the DMA can address the entire range of PIC memory from 0000 to FFFF However, I can't get it...
View ArticlePIC24 special function in bootloader (GuillaumeT)
Hello, I'm working on a custom bootloader. I'm facing some problem with memset and memcpy functions in my bootloader. I think that's an esay problem but's it's my first bootloader. I have done a...
View ArticlePIC24EP512GU810 ECAN module - Problems to send standard CAN messages...
Hello everyone, I'm developing a circuit for sending CAN messages. I solved some problems about the accessing the DMA and now I can send CAN messages with DLC and DATA fields correctly. I started from...
View ArticleProblem with I2C2 with a PIC24FJ256GB106 (fred1608)
Hello, I'm currently working with I2C communications using the PIC24FJ256GB106 as master. I was already able to communicate with a HMC5983 sensor using both the I2C1 and I2C3 bus, though for some...
View ArticlePIC24H and 24-bit SPI (ddarko)
Hello, I'm having trouble with transmitting multiple bytes sequentially using the SPI on the PIC24HJ256GP206. I'm using a DAC that requires a 24-bit instruction so I had setup the PIC to send 3 sets of...
View ArticleI2C module getting hosed, maybe by bus noise, must power off PIC to recover...
Scenario: I'm building a BDC motor control using a PIC24F16KM204 to drive a DAC (MCP4726) via I2C (the DAC drives an OA which drives MOSFETS which drive the motor). There is about 3 feet of wire...
View ArticleCCP2 Interrupt (dagentooboy)
I have been trying to figure out how to get my PIC24FV08KM101 to trigger off of IC2 (RB9 Pin 13). I want to read the frequency of a square wave. Right now I never reach the interrupt. Anyone have...
View Article