Can't get PIC24F16KM202 MCCP - Input Capture Mode - Capturing Values (jkellar)
Hi All, I'm trying to get an MCCP module setup for input capture mode and it looked pretty straightforward however I can't get it to capture anything except 0x0. It does respond to the capture input...
View ArticleCheckSum verification (antony.abee)
Hi all,I have calculated the checksum for the hex file using the hexmate tool.Now i need to verify the checksum after flashing it into PIC. But when running in debug mode it showing the following...
View ArticlePIC24EP256GP204 (MPLAB) MUL.UU strange results (JDC)
Dear all I am getting a constant (x2) result occurring after a MUL.UU function with MPLAB IDE (Debugger mode) when configured with PIC24EP256GP204 device and cannot work out why this is happening....
View ArticleSD-card vs Micro-SD-card usage differences? (BobAGI)
A few years ago I have designed a board with a PIC24FJ256GB206 CPU and a standard SD-card socket for data storage on SDcard.Now I need a similar system on a new board, but this time I want to use a...
View ArticleExternal Interrupts no working on PIC24FJ128AGA010 (craveiro)
i'm trying to fire interrupt with INT2, INT3 and INT4 with PIC24FJ128AGA010, i can't fire interrupt and i can't read PORT values (always return 1, i had check with multimeter and value it 0V). I setted...
View ArticleSD Card in SPI Mode (coreyglynn)
My adventure with SD Cards via SPI: You'd think that this was an easy task given the amount of documentation that is available. Yet, took a while longer that expected (and than I would have liked) to...
View ArticleSmart Card library, Case statement inside another Case statement (x3.exe)
Hi everyone, I'm currently looking through an example Smart Card app from Microchip MLA and I came across the following code inside the SMARTCARD_EMV_DataExchangeT0 function: {case SMARTCARD_CASE_4S:...
View ArticlePIC24 with ICD3 : Issue (niteshverma.ind)
Dear all, Hope the forum is doing well with all the beginners & experts. I am using PIC24FJ128GA310 & using ICD3 for programming & debugging. This issue started few days before & i am...
View ArticlePIC24F ADC Automatic Sampling problem (GeoTox)
Hi guys!I have a problem configuring the ADC on the PIC24FJ256GB410. I have tried configuring registers of the ADC module, but had no luck. Then I've just copy-pasted the sample code from the...
View ArticleProgram works fine in debug mode, but not in program mode - Where so I start?...
With a lot of help I have finally finised my project. The project worked fine in the debug build configuration, but when I program into a release configuration, nothing happens. To make it more strange...
View ArticleAnother I2C Problem - PIC24F16KM202 - Getting Nothing On SCL or SDA (jkellar)
I'm trying to get the MSSP1 module to work in I2C mode. Read several posts, the datasheet and the MSSP users manual. I'm getting nothing whatsoever on these pins. The pins are connected to the MCU as I...
View ArticleHow to reduce sleep power consumption in PIC24FJ128GA306 (enricoricci51)
Hi all! I have a couple of identical pcb with different PIC. One is mounted with PIC24F32KA302 and i never found problems to get low level of current flowing on the PIC supply tree (~20 uA) when it is...
View ArticleProblem with XC16 and PIC24FJ64GA102 (davidmundie)
I can not get the Sleep function to work.This used to work with the old C16 compiler but when changed to XC16 it stopped.The program does a sleep request then waits for WDT to wake it up...
View ArticlePIC24E SPI with DMA for DSP sampling (john_schimandle)
I have an application where I need to sample the ADC relatively fast. Fast enough where the interrupt CPU overhead time (vectoring to the ISR and the exiting the ISR) is consuming too much CPU. So the...
View ArticlePIC24FV32KA301 - measuring Vdd using band gap voltage (gmorfeus)
Hi, I am trying to measure (estimate) Vdd by using Vbg on PIC24FV32KA301 and I use this function:UINT16 adcMeasureSingle() { UINT16 result; AD1CON1 = 0x0470; AD1CON2 = 0x0000; AD1CON3 = 0x0100; AD1CON5...
View ArticlePIC24FV32KA302 - using EZBL v1.01 as a boot loader. Possible? (gmorfeus)
Hi, I found EZBL on microchip as a bootloader for PIC24F but it is not advised to use it for PIC24FxxKxxx as stated...
View ArticleRevisit boot loading but from SDcard with shared disk driver.. (BobAGI)
I am using a PIC24FJ256GB206 chip for most projects. An inventory decision... I have now converted an existing old PCB from through-hole to surface mount and from a Motorola MC68HC711 CPU to this...
View ArticlePIC24EP with SST25V running TCP/IP stack demo app (drv11)
Hi all, I'm working on a board that has a pic24ep512gp206 and sst25vf016 SPI flash. The write protect/hold pins of the sst25 are tied to Vcc. The code is based on the TCP/IP DemoApp from "Microchip...
View ArticleWorking of I2C in Deep Sleep Mode (arjundongre)
Hello, I am using PIC24F16KA102 microcontroller to read data from I2C sensor. I read data for every 1 minute. As the device runs in battery, I want to put the microcontroller in Deep Sleep mode. So,...
View ArticleHow to generate a 4MHz clock signal on PI24FJ256xxx? (BobAGI)
I am a bit rusty now since my last PIC24 programming spree a couple of years ago... My task now includes a PIC24FJ256GB206 chip running with an 8 MHz crystal to create a 32 MHz system clock and FCY=16...
View Article