Problem with UART PIC24FJ64GB002 (Faly3891)
Hello. I'm having some problems about reception and transmission using UART1. I'm using a 24FJ64GB002 microcontroller. I'm pretending to turn on a LED when a RX interrupt happens. I'm using a wire to...
View ArticleExiting Deep Sleep PIC24FJ128GC010 (Mwood)
All, I am using this part in a battery application. I am able to enter deep sleep without issue and appear to wake up on an int0 transition. The current goes from roughly 25uA to 3.7mA. Yet normal...
View ArticleI want to count the number of rising egde pulses (Developer)
Hi all I want to count the number of pulses falling on a pin using an interrupt. Like, when a 0 to 1 transistion happens, it should service the interrupt. In the interrupt loop, it should have a...
View ArticleUart code for PIC24FJ256GB110 (Pallav Joshi)
Hello everyone as I am new in embedded era,So I am facing little bit problem while trying to implement code to achieve uart communication with PIC24FJ256GB110 (using explorer 16 development board). I...
View ArticlePIC24FJ256GB406 SPI Master with DMA Read Transfer. How to avoid gaps between...
For an SPI Nand flash I need to use DMA for the reading and writing of e.g. 512 byte blocks. The SPI is configured as 8 bit master with currently 8 MHz SPI clock. A block transfer must be accomplished...
View Articlepic24 using interrupt (gatocap)
Hi everyone, I am programing my pic24 and have a question, I am using as ISR to trigger a shift of direction on a servo which has micro switches at full extention, full. retraction, and middle...
View ArticlePIC24F spi issues with mcp3201 and mcp4921 (Toffeeflavour)
Hello all! I'm working on a guitar pedal using a PIC24F04KA200.I use the adc and dac mcp3201 and mcp4921. There are two issues which I do not understand: 1. The adc mcp3201 does not work if another spi...
View ArticleIs it possible to erase all program flash programmatically (chenssh)
I am wondering if there is a way to erase all the program flash on a PIC24F programmatically? Is it even possible? I thought that the NVMCON register looked promising according to the datasheet, but...
View ArticleWhat is the maximum SPI clock for PIC24FJ256GB406 ? (rodims)
I have a PIC24FJ106 device, which uses PLL for FOsc = 32 MHz, Fcy = 16 MHz. With the GB106 device I can verify that it is possible to use 16 MHz as SPI-clock (setting prescalers to 1:1). The GB406 uses...
View ArticleCAN controller with DAC 12/10 bit resolution (KDN)
I am looking for CAN controller with DAC 12/10 bit resolution..
View ArticlePIC24F self programming (GalS)
I am using PIC24FJ64GA306.I am using the examples from DS30009715c.pdf.Read and Eras work fine.Than in Write it stucks in "__builtin_write_NVM", and it seems to destroy the code (I have to re-program)....
View ArticlePIC24 Using SPI on XIDE 3.30 and Code Configurator: Where To Begin ?? (Abraxas)
Greetings I'm trying to get a very simple project going that reads a thermocouple via a MAX31855. I won't worry about the display part yet and hope to just read it using LEDs or something. All I've...
View ArticlePIC24F16KL401 UART help (rdnether)
I need some assistance getting my UART functional. At this point, I am just trying to receive, without using interrupts. I've got my program down to a few basic functions: I am running with the on...
View ArticleData EEPROM Access on PIC24FV32KA304 (kathappan)
Hi all, I am using PIC24FV32KA304 and MPLAB X IDE (v3.30) along with XC 16 (v1.26). In in PIC24FV32KA304, the data EEPROM is mapped to the memory address from 7FFE00h to 7FFFFFh(256 words). The EEPROM...
View ArticlePIC24 UART RECEIVE ISSUE (harini04)
Hello everyone, We are using PIC24FJ64GA004 controller and Internal FRC of 8MHz.1. Please tell , will these settings are correct for UART Communication !! U1MODEbits.BRGH = 1; // Standard-Speed...
View ArticleHow to use these headers (Developer)
Hi I want to use usb library for pic24fj64gb002. for that do I need to add these headers #include "usb.h" #include "usb_host_cdc.h" I was going through some of code examples in mla files. I could see...
View Articleinterrupt pin reading inside of interrupt handler (scrungy_doolittle)
I have a line connected to an external interrupt on a PIC24FJ256GB110. I need to have the system interrupt me on both the leading edge and the falling edge of this line. This is used to bracket a...
View ArticleADC Buffer Organization (jnnewton)
I'm having trouble sorting out where the ADC is putting samples, and am looking at the reference manual for the device family.Here's the link to the section on ADC...
View ArticlePIC24F Family Reference Manual (lcj)
Is this document available as a single download? It's really tedious having to search out and download each chapter individually, but I haven't been able to locate a single pdf of the whole document....
View ArticlePIC24FJ128GA202 ADC setup (mgedion)
Hello, Still fighting with the new GA2 series.Maybe someone can share a simple ADC setup for PIC24FJ128GA202. Regular mode (no FIFO). I use it to connect a microphone. With GA002 series everything...
View Article