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

Couldn't increase the time of UART's output- PIC24FJ64GB004- MPLAB- XC16...

I'm trying to increase the UART's output waveform's time from 2 micro sec to 200 micro sec. Couldn't increase the time of UART's output- PIC24FJ64GB004- MPLAB- XC16. Please advise...... #include...

View Article


Unable to execute routine from external interrupt (miruga27)

Hello,I'm communicating my PIC24FJ1024GB610 to a MRF24J40MA and I'm connecting the INT input to INT1 pin. I've declared the ISR this way: void myISR( void ) __attribute__ ((interrupt_handler));void...

View Article


PIC24FJ256GB406 DAC output problem (CescoGar)

Hi, I am utilizing the DAC of the PIC24FJ256GB406 to convert the data that I receive from an accelerometer and I am using an oscilloscope to see the outputted signal. The problem is that the data are...

View Article

PIC24FJ64GA006 SPI ISSUE (radhika)

Hi , I am a beginner in microcontroller programming and currently working with PIC24FJ64GA006 to read from the energy meter using SPI. To start with , used a simple code to receive the transmitted...

View Article

PIC24F MSSP module in SPI with INTERRUPT (qanaelle)

Hi,After create SPI communication with 2 PICs, I want to create interrupt code when slave spi receive data.I use this code but I don't receive the right data : void _ISRFAST _SPI1Interrupt(void){...

View Article


psychedelic lights (CinziaG)

I want to make "old style" (70s/80s) disco lights, those 3 lamp bars that did flash following the music, one for bass one for middle tones and one for treble. I have a nice board featuring a basic...

View Article

MCP3911 board with PIC24FJ256GA110 ( board:ADM00398) (navi211)

Hello, I bought the MCP3911 board (ADM00398) for energy management. I have measured the voltage and current. I want to measure the active power but I can't find its in user's guide...

View Article

PIC24FJ128GA010 - microSD card Library SPI speed issues (bthrst834)

Hello all, I am working on sending data from an Accelerometer to the ADC of a PIC24 and from there to a microSD card via SPI. So far I am able to write samples to the SD card. Unfortunately, I am...

View Article


I2C trouble with L3G4200D (wmartin31414)

Hi all, My name is William Martin, I am having a problem interfacing the PIC24FJ128GA010 with the tri axial digital gyroscope L3G4200D (both data sheets attached)where the PIC is the master, and the...

View Article


Bootloader for PIC 24FJ128GA310 (Robotix0805)

I'm having a problem with the AN1157 bootloader and the PIC24FJ128GA310. The bootloader program compiles and loads successfully as far as I can tell, but when I try and flash the program code, the...

View Article

Secondary Oscillator - Distorted signals (vikas_sens)

Hi, I am pursuing PIC24FJ64GA204. Attached are the portion of the schematics for reference. While testing the secondary oscillator, I observed attached waveforms. The file names of these waveforms show...

View Article

Issue in PIC24FJGB410 USB COMMUNICATION USING MULTIPLE ENDPOINTS...

Hi all, For an ongoing project need urgent help on configuring USB ENDPOINTS (Bulk Mode) for both IN & Out from HOST. I M using PIC24FJ256GB410 and Microchip example code “Vendor throughput...

View Article

I2C slave with PIC24F16KA101 (modulay)

Hello everyone. My PIC is connected to a bus with another slave and a master. I2C transactions seem to work properly, but I am getting some weird voltages when the PIC drives SDA line low.The attached...

View Article


Pic24fj64ga006 to PC UART communication issue (radhika)

Hi , I am trying to communicate between PIC24FJ64GA006 and PC using UART at baudrate 9600 . But after programming the PIC and connecting the PIC and PC with UART to USB converter , the terminal is...

View Article

Data from U1RXREG is not pushed in to U1TXREG for PIC24FJ64GB004 (NIshok)

Program, gets data from U1TXREG. then its sent to str2Write variable as dummy variable. But it is not pushing the bits in U1TXREG register: while (!U1STAbits.TRMT); {U1TXREG = str2Write; // this is not...

View Article


EZBL EZ Bootloader (raymondortiz)

I am trying to get started with the EZBL V1.01. I did manage to compile the PIC24 code but the PC side is not clear. I get it that it is Java code and I installed Java 8 and Downloaded Eclipse. I tried...

View Article

PIC24FJ256GB406 linker problems (profiler1234)

Hi, I am up upgrading an old project from PIC24FJ256GB106 to PIC24FJ256GB406, using MPLIBX v3.30 and compiler XC16 v1.26. USB Bootloader updated and programs correctly "Verify successful" Bootloader...

View Article


AN1157 bootloader, P24QP gives verify errors on CONFIG bits (Stri_)

Hello. I'm trying to get this bootloader to work with my PIC24FJ128GC006 (originally not supporting it). I've added necessary DEVICEID in P24qp.ini and boot.h. The problem is, after provided...

View Article

AN1157 Bootloader Issues - Cant even connect (mattm)

Edit: more or less communicating now with a stripped down version and my own uart configuration, working on the other issues. I've been at this for a while now, ive tried every combination of...

View Article

Dual Partition Flash memory (tnikos)

Hi,I am trying to find any example of XC16 that uses the dual partition memory of PIC24 but I cannot find anything.Does anyone know where I can find any example? Thank you..

View Article
Browsing all 3494 articles
Browse latest View live


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