Page 1 of 1
3 pwm signals
Posted: Sat Nov 10, 2012 10:33 am
by dirkvg@skynet.be
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?
Re: 3 pwm signals
Posted: Sat Nov 10, 2012 11:04 am
by medelec35
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
Re: 3 pwm signals
Posted: Sat Nov 10, 2012 11:45 am
by dirkvg@skynet.be
Thank you for your advise