Problem accessing pins RC3 and RD15 on DSPIC33EP128GS808
I'm using DSPIC33EP128GS808.
I'm having problems to access following pins:
RC3 (RC3 is mapped to pin 69: PWM5L/RP51/RC3 ).
RD15 (RD15 is mapped to pin 73: PWM6L/RD15 ).
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 RPOR11 with value 0x0000 in order to have RP51 pin as default value (which I asume it's RC3).
What configuration I'm missing??
(I cannot find on datasheet how to switch between PWM function and GPIO function).
Thank you very much in advance.
With best regards,