2014-12-05 03:52 AM
Hi everybody..
I wanna ask to what is the meaning of ''on the fly''? I interesting with pwm generator for motor controller. And I want to change speed of motor whenever I want. Speed is related with pwm frequency as u know. So Can I understand this sentence as a '' I can change pwm frequency when generating signal without any dissortion''?2014-12-05 05:34 AM
Change while moving, not required to stop.
With PWM you'd want the registers reloaded at the Update event, which is what the shadow registers do normally, but can be loaded ''immediately'' if you're doing it in a controlled manner, like following an edge (CCx interrupt), or by tracking the counter. Generally you'd want to be attentive to the phase (count) when you change things, and not change them at random times.