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

PIC24F : configuring UART using Peripheral Pin Select for both TX and RX....

Hello, I am developping an application on PIC24FJ256GA106. I would like to use an UART to communicate with another micocontroller (the same chip). The transmission is working but not the reception.Here...

View Article


Erratic behavior of interrupt with 32 bit timer23 for PIC24 (vra)

Hi all, how are you?. I'm currently having problems with some self made delays for a PIC24FJ256GA106 (I know XC16 has built in delay functions but I'm doing the delays myself to learn). Bassically I...

View Article


PIC24F bootloader application AN1157 eeprom memory handling verify error...

Hi,I am using below tools:PIC24F bootloader Application note: AN1157 Mplab X IDE v5.20XC16 compilerPIC24FV16KM204 My application code and boot-loader code is working fine until i enable below code:int...

View Article

PIC2416KA101 Band Gap Voltage Reference and Port A pin 0. (Doug Richard)

Hi all. Using the internal ADC to measure the band gap voltage reference (1.2V) on the PIC2416KA101. I seem to be successful at this until I drive the portA pin 0 latch high. Once I do this the...

View Article

PIC24HJ256GP206 to PIC24HJ256GP206A (smunch)

Hello, We have an existing design using the PIC24HJ256GP206. As this is now EOL we need to migrate to the PIC24HJ256GP206A. As the moment I cant see why the A version is not a drop in replacement. Am I...

View Article


pic24f bootloader AN1157 issue (Prashtandale)

Hi, After reading AN1157 and trying to work out bootloader application and after reading various posts on forum(related to AN1157) i am posting below issue of my project. I am sure i will get some...

View Article

Trap Address Error (Serafino Convertini)

Hello,I'm using the PIC24FJ64GA202 and I'm having a trap error as in the title.I'm using the library generated by MCC to find and debug traps. void ERROR_HANDLER_NORETURN _AddressError(void){...

View Article

PIC24FJ256GA106 : communication with SCA830 sensor. SPI commands (nrobin)

Hello, in my project, I communicate with a SCA8x0 sensor to get inclination of an equipment.The communication use SPI commands.According to datasheet of the sensor, i send the correct command after...

View Article


PIC24 interface with LCD03 (Ian Steward)

I am just starting to work with PIC24. I have some experience with PIC18. Currently I am using PIC24FJ128GA204. Can anyone point me to an example with PIC24 interfacing with LCD03? I would appreciate...

View Article


Processor reset when I pass a string pointer to print it in an LCD (vra)

Hi all, how are you?. Right now I'm having a problem when I try to print a string to an LCD based in HD44780 when using a string pointer using 4 bits interface. My code is the following: Data to print:...

View Article

16bit PIC recommendation (E_Blue)

Hi, I'm need a 16bit microcontroller with, at least, one complete 16 bit port.I.E. RB0 to RB15All in a 64pin TQFP encapsulate or a 40pin encapsulate.I need to create a 16bit data bus for display and...

View Article

ezbl and usb msd linker error (peter.l.nilsson)

Hi anyone. I have a problem that I cant solve. I have compiled the ezbl usb msd project and added it to my project. Everything worked fine until my program grew to 12% then I got a linker error.: Link...

View Article

Link Error: PC Relative branch to '___udivsi3' is out of range. Suggest...

Hi anyone.I have a big problem with ezbl bootloader. Im using the project boot usb msd with PIC24FJ1024GB606.Im compiling the exp16_pic24fj1024gb610_pim.x project with large-code model. And my...

View Article


Config settings (P Lameijn)

If I change the CONFIG words during runtime, will the change become effective immediately,or after a reset? (in this case a PIC24FJ256GA108)(are the config words only read on start-up, or constantly?)..

View Article

The ADC buffer not hold the full value (ibraheeem03)

I am trying to read the ADC value from the potentiometer in PIC24F Curiosity Development Board (PIC24FJ128GA204) then turn on the LED if the value more 1000 (I configured it as a 10-bit). However, The...

View Article


My UART TX working properly but RX is not working (KMDN)

void UART2_INT(void){ U2BRG = 103; // // Baud Rate setting for 9600(65)/* U2STAbits.UTXISEL0 = 0; // Interrupt after one TX character is transmitted U2STAbits.UTXISEL1 = 0; IEC1bits.U2TXIE = 1; //...

View Article

EZBL Linker Error (StevePye)

I'm attempting to build a bootloader that uses SPI flash to store new code images. I started with the EZBL USB MSD example and changed the FILEIO reads to SPI reads. That part doesn't work yet...

View Article


U2BRG seemingly ignored. Wrong UART transmit baud rate. (StevePye)

I'm trying to debug a specific piece of code so I'm implementing some blocking polled UART transmit functionality that ensures that a debug string has completely transmitted before the next line of...

View Article

Erratic behavior of interrupt with 32 bit timer23 for PIC24 (vra)

Hi all, how are you?. I'm currently having problems with some self made delays for a PIC24FJ256GA106 (I know XC16 has built in delay functions but I'm doing the delays myself to learn). Bassically I...

View Article

Unable to read string the UART (Findlay1746)

Hi all, I'm brand new to the microchip forums and this is my first post :) I'm trying to read a particular string through UART5 and write the EXACT same string through UART6. I've used the MCC to...

View Article
Browsing all 3494 articles
Browse latest View live


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