hello
Can S32K144 achieve changing the PWM duty cycle twice within a PWM cycle
Thanks!
Hi,
Thank you so much for your interest in our products and for using our community.
Sorry, but it is not graphically clear to me why you are looking to change the duty cycle twice in a PWM cycle, can you please give me more detail?
hello
I conducted an experiment to verify that PWM can change the duty cycle twice within a cycle
Centrally symmetric complementary PWM: 10KHz
TIMER: 50us or 20KH, update PWM duty cycle, PWM duty cycle from 25% to 50% and then to 75%
The waveform generated by PWM is like this. It seems that the duty cycle can be changed twice within one cycle of PWM
Previously, it was mainly changed during the operation of the motor, and the change in duty cycle was particularly small each time, resulting in no visible effect. By amplifying the change in duty cycle each time, the change in duty cycle can be seen
Is my understanding correct?
Thanks!
Thank you very much for your feedback. You can find more about Updating FTM registers in section 4.3 of AN5303.