Problem accessing pins RB2 and RC2 on DSPIC33EP128GS808
I'm using DSPIC33EP128GS808.
I'm having problems to access following pins:
RB2 (RB2 is mapped to pin 35: OSC2/CLKO/AN7/CMP3D/CMP4B/PGA1N2/RP34/RB2 ).
RC2 (RC2 is mapped to pin 45: EXTREF1/AN9/CMP4D/RP50/RC2 ).
I want to access those pins as a digital output.
I'm configuring rellated TRISbits as "0" (pin is configured as output).
TRISCbits.TRISC3 = 0;
TRISDbits.TRISD15 = 0;
I'm configuring RPOR3 with value 0x0000 in order to have RP34 pin as default value (which I asume it's RB2).
I'm configuring RPOR11 with value 0x0000 in order to have RP50 pin as default value (which I asume it's RC2).
What configuration I'm missing??
Thank you very much in advance.
With best regards,