When I read the datasheets of a 16F767 µC I suppose (but I am not sure) that I can generate 3 independant PWM signals with this µC. In flowcode v4.5.18.74 it is not possible to add a pwm component with 3 PWM signals.
So my question is: Is it possible to generate 3 pwm signals with one µC and is it possible to do so with flowcode?
3 pwm signals
Moderator: Benj
-
- Flowcode V4 User
- Posts: 12
- Joined: Sat Nov 21, 2009 4:16 pm
- Contact:
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: 3 pwm signals
For Flowcode V4: if more than 2 CCP channels then take a look here:
http://www.matrixmultimedia.com/mmforum ... 52&#p18513
Since V4 only supports 2 CCP PWM channels, then anymore will have to be created using C code (as in the above example).
For Flowcode V4 or V5: If your including ECCP then take a look here:
http://www.matrixmultimedia.com/mmforum ... 73&#p41658
For Flowcode V5 you will be able to use as many PWM channels as target device supports so long as they are all CCP.
So yes you can use 3 PWM with 16F767 since there are 3 CCP channels.
You can download the free version of Flowcode V5 from here:
http://www.matrixmultimedia.com/lc_index.php?p=25
Martin
http://www.matrixmultimedia.com/mmforum ... 52&#p18513
Since V4 only supports 2 CCP PWM channels, then anymore will have to be created using C code (as in the above example).
For Flowcode V4 or V5: If your including ECCP then take a look here:
http://www.matrixmultimedia.com/mmforum ... 73&#p41658
For Flowcode V5 you will be able to use as many PWM channels as target device supports so long as they are all CCP.
So yes you can use 3 PWM with 16F767 since there are 3 CCP channels.
You can download the free version of Flowcode V5 from here:
http://www.matrixmultimedia.com/lc_index.php?p=25
Martin
Martin
-
- Flowcode V4 User
- Posts: 12
- Joined: Sat Nov 21, 2009 4:16 pm
- Contact: