PWM remap for dsPIC33EPMC202

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
Lord Grezington
Flowcode V4 User
Posts: 288
Joined: Wed Nov 02, 2011 11:15 pm
Has thanked: 29 times
Been thanked: 30 times
Contact:

PWM remap for dsPIC33EPMC202

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: PWM remap for dsPIC33EPMC202

Post 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.

Lord Grezington
Flowcode V4 User
Posts: 288
Joined: Wed Nov 02, 2011 11:15 pm
Has thanked: 29 times
Been thanked: 30 times
Contact:

Re: PWM remap for dsPIC33EPMC202

Post 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

Post Reply