Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make change in Loader for dsPIC33FJ128GP802 MCU
#10
Thanks. Try this code, replace the existing code in user_code.inc
Code:
                ; Receive, map pin RB11/RP11 to UART2 Rx
                bclr    RPINR19, #U2RXR0        ;xxx
                bset    RPINR19, #U2RXR1        ;xxx
                bclr    RPINR19, #U2RXR2        ;xxx
                bset    RPINR19, #U2RXR3        ;xxx
                bclr    RPINR19, #U2RXR4        ;xxx
                        
                ; Transmit, map UART2 Tx to pin RB10/RP10
                bset    RPOR5, #RP10R0            ;xxx
                bclr    RPOR5, #RP10R1            ;xxx
                bset    RPOR5, #RP10R2            ;xxx
                bclr    RPOR5, #RP10R3            ;xxx
                bclr    RPOR5, #RP10R4            ;xxx
Reply


Messages In This Thread
RE: Make change in Loader for dsPIC33FJ128GP802 MCU - by Mikael Gustavsson - 2013-09-12, 23:19:40

Forum Jump:


Users browsing this thread: 2 Guest(s)