Quantcast
Channel: PIC24 Topics
Browsing all 3494 articles
Browse latest View live

MPLAB very slow compile (michael.dale)

Hello, My MPLAB XC16 has all of a sudden become very slow to compile programs, sometimes taking 5+ mins to compile and when I restart it, there is a warning for both XC8 and XC16 compilers " licence...

View Article


Debugging techniques? (ssagerian)

I am developing an embedded app using the PIC24FJ128GC006, So my code has started crashing, after running for a bit the debugger traps to TRAPS_halt_on_error function. So I am left wondering what...

View Article


PIC24F programming problem with Pickit3 (barrdgn@gmail.com)

Hello, I have existing project that I made with 18F2550, due to RAM limitations I decided to go one step up from 8 bit to 16 bit memory addressing, I decided to use "PIC24FJ64GB002T-I/SS SMD" but I...

View Article

PIC24 offcal adc calibration not working (picy2620)

Hi all, Did anyone of you tried calibrating the 12bit adc using the offcal bit inside AD1CON2 register?The 12bit adc datasheet says not much about it. See first attachment. When trying to get the adc...

View Article

ADC on pic24fj64gc010 (kushalnandanwar)

what n represent in all ADC resistors ADLnCONH, ADLnCONL, ADLnSTAT, ADLnPTR, ADTBLn, ADTHnL...

View Article


USB MSD Host More than one file open (wilkie)

USB MSD Host More than one file openPIC 24FJ256GB106 MPLAB 8.92 MLA _v2013-06-15 XC16 1.21B My project is a data logger, which until now is working fine. I have a Log file open in append mode and is...

View Article

USB Interrupt mode (swatvv)

I using pic24fj512gb606 with mplabx ide3.10 with MLA USB library2017. Can we use USB interrupt like UART rx tx interrupt for enabling usb only when receiving data.without disabling the usb with...

View Article

Pipeline ADC is not working in PIC24FJ128GC006 (semir_ver)

I am testing 12 bits AD inputs in PIC24FJ128GC006 using IDC3.I coppied example noted in ap. note 30686A (page 65-30)I use also 2 inputs and only difference is that I use FRC. My code ispresented below....

View Article


Bootloader breaks USB Stack (jnnewton)

I have an application that incorporates the usb stack as a host for writing log data to a flash drive. When I build and run the application with no special linker file, it runs fine. When I attempt to...

View Article


SPI slave with DMA controller not working (arnold_w)

I am working with the PIC24FJ1024GB610 microcontroller on an Explorer 16/32 Development Board (with a PIM, Plug In Module). I need to write code for an SPI slave that can receive uninterrupted packets...

View Article

Bootloader - IVT mapping (adithyadatta)

Hi, I am working on PIC24FJ128GA008 controller. I have my bootloader flashed from address 0x400. My application code offset is 0xc00. I am flashing my application through a PC application. The...

View Article

PIC24 DMA (electronicsArtist)

Hello I am trying to understand how DMA works on the PIC24HJ128 can anyone suggest where I can find tutorials on the topic?I have gone over the data sheet but I am still struggling to grasp the...

View Article

spi external interrupt code (radhika)

Hi, I am trying to get the external interrupt (using external interrupt 3 ) code to work on my pic24fj64ga006. I can see the pin going low but not triggering the interrupt. Is enabling the interrupt...

View Article


PIC24EP Microcontroller Bootloader Issue with MPLAB? (abhiarora4)

I am working on pic24EP bootloader. My bootloader has it's own packet format to communicate with a python script to update the firmware of the microcontroller. The bootloader resides at the first free...

View Article

Consumption of PIC24FJ1024GA606 in Idle mode is too high (Leonardo Morichelli)

Hi everybody, I have a problem with consumption of PIC24FJ1024GA606: As datasheet tolds, the consumption in LPRC clock mode, must be like follows: running: from 46 to 130 uA idle: from 30 to 110 uA My...

View Article


working backwards to determine the cause of the interrupt (which vector it...

Ok so I have this odd initialization error that I havent gotten a handle on. I made progress however by creating my own _DefaultInterrupt that the compiler installs in all unused vector locations:...

View Article

PIC24F16KAxx serial bootloader (Cezary)

What is recommended and working serial bootloader for PIC24F16KA or PIC24F32KA micros?There were some problems reported on this forum while using either EZBL or AN1157 for KA family.Thanks for advice...

View Article


PIC24FJ256GB406 - UART3 trouble (DPerez)

Hello there,I am having some troubles with this single microcontroller when I am trying to set up the UART3 in the following dedicated pins:(17) - PGEC2/LCDBIAS3/AN6/RP6/RB6(18) -...

View Article

I'm not receiving any data on I2C bus (kushalnandanwar)

I am using DS1307 RTC to get time but when I start receiving data from slave device master device get hang in I2C2CONbits.RCEN = 1; //set I2C module to receive while(I2C2CONbits.RCEN==1); while...

View Article

is there a register on the pic24f the shows the particular interrupt/vector...

is there a register on the pic24f the shows the particular interrupt/vector index that led into a branch to the _DefaultIsr() ? here is my dilemaI have my own _DefaultInterrupt() handler and I can...

View Article
Browsing all 3494 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>