Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
To generate the desire PWM frequency and duty cycle using CCU4 / CCU8, we need to program the correct count value into the "Timer Period Value register" and "Compare Value register". The Timer Period Value correspond to the period of the PWM and the Compare value correspond to the duty cycle. These 2 values are applicable in both the PWM Center or Edge align mode.

Please see attachment for more detail information to calculate the Timer period / compare Value of CCU4 / CCU8.

G@@d Luck ...
0 Replies