PIC24FJ128GA010 UART Config problem [solved] - Printable Version +- ds30 Loader free edition forums (https://picbootloader.com/forum) +-- Forum: Support (https://picbootloader.com/forum/forumdisplay.php?fid=3) +--- Forum: 16-bit firmwares (https://picbootloader.com/forum/forumdisplay.php?fid=6) +--- Thread: PIC24FJ128GA010 UART Config problem [solved] (/showthread.php?tid=198) |
PIC24FJ128GA010 UART Config problem [solved] - Berkay Dogan - 2011-07-04 Hi, I tried to change the default settings for uart. I could not find out the tx configuration for the PIC24FJ128GA010. Here is the part of the code from the ds30loader.s. mov RPINR18, WPPSTEMP1 ;xxx mov RPOR7, WPPSTEMP2 ;xxx ; Receive, map pin (14 = 1110) to uart bclr RPINR18, #U1RXR0 ;xxx bset RPINR18, #U1RXR1 ;xxx bset RPINR18, #U1RXR2 ;xxx bset RPINR18, #U1RXR3 ;xxx bclr RPINR18, #U1RXR4 ;xxx ; Transmit, map uart to pin bset RPOR7, #RP15R0 ;xxx bset RPOR7, #RP15R1 ;xxx bclr RPOR7, #RP15R2 ;xxx bclr RPOR7, #RP15R3 ;xxx bclr RPOR7, #RP15R4 ;xxx .endif I am using uart2.The pins are RF4->U2RX, RF5->U2TX. I couldn't find the RPOR from datasheet for U2TX. Best Regards, Berkay. RE: PIC24FJ128GA010 UART Config problem - Mikael Gustavsson - 2011-07-04 Hi, As far as I know 128GA010 does not have pps. You can disregard that piece of code. |