What are your requirements for the PWM signal?
Will it be used for motor control or something else?
Thanks guys
I am experimenting with both PICs , both system run well as expected
Beside those hardware specific features, is the CPU utilization lower with power control pwm compared to ccp pwm ?
Is there something like " windows task manager " for PIC to see the CPU load ?
Bruce:
It is a motor control with 20 kHz pwm freq.
PWM is hardware based so once it's configured & enabled it doesn't require CPU overhead
to continue. Only when you make changes to duty-cycle or frequency.
For motor control I would definitely prefer the 18F2431 with additional built-in safety
options like fault inputs and dead-band. The 16F737 only has standard CCPx type PWM
outputs. The 2431 would be a lot better choice in my opinion.
Bookmarks