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
PWM remap for dsPIC33EPMC202
Moderator: Benj
-
- Flowcode V4 User
- Posts: 288
- Joined: Wed Nov 02, 2011 11:15 pm
- Has thanked: 29 times
- Been thanked: 30 times
- Contact:
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- 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
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
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