I'm trying to use more than 2 PWM on the dsPIC32FJ64.
I made some change to the PIC16BIT_PWM.c file but I don't understand how work the remapping settings.
For example, in the generated c file you have :
//configure remapping
RPOR0 = (RPOR0 & 0xFF00) | 0x0012; //Assign PWM OC1 - RP0 / PORTB0
RPOR0 = (RPOR0 & 0x00FF) | 0x1300; //Assign PWM OC2 - RP1 / PORTB1
How can I assign PORTB2 and PORTB3 for OC3 & OC4 ?
Thank you for your help