Page 1 of 1

PWM remap for dsPIC33EPMC202

Posted: Mon Jul 24, 2017 1:18 pm
by Lord Grezington
Hello All

in FC6 I am having problems trying to remap the PWM to $PORTB.15 (RB15). Is there a simple fix or do I need to troll through the datasheet to find out how to do this in C?

Thanks

Re: PWM remap for dsPIC33EPMC202

Posted: Mon Jul 24, 2017 2:02 pm
by Benj
Hello,

On those devices pin RB15 is a remappable input only (RPIxx rather than RPxx). You can assign inputs such as the UART RX but not outputs such as PWM.

Re: PWM remap for dsPIC33EPMC202

Posted: Mon Jul 24, 2017 2:09 pm
by Lord Grezington
Hi Ben

Yeah, only just noticed that. I copied the pin descriptions incorrectly when laying out the schematic.... Looks like this design is going to need a bodge!!!

Thanks