abq_guy
Joined: 26 Jan 2009 Posts: 13
|
Enhanced PWM and CCP modes on PIC18F8722 |
Posted: Tue Apr 07, 2009 11:31 am |
|
|
Hello All,
I am using the ECCP2 and CCP4 and CCP5 mode on the PIC18F8722. I set the ECCP2 mode in full bridge configuration. I wanted to set the three PWM channels on three different frequencies with three different duty cycles.
I can easily set the duty cycle to be different for each PWM channel. How do I set different PWM frequencies for each of them, since all of them are referencing Timer2 Prescaler and PR2 register for the frequency.
Is there any way I can set different frequencies for ECCP2, CCP4 and CCP5. Also I might have to change their frequencies and duty cycles on the fly
Thanks,
abq_guy |
|