xmc1100 pwm App Compare Value

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

cross mob
User18744
Level 1
Level 1
Using the PWM app in Dave, I see that the compare value is dependent on the Frequency and the the duty cycle.
How is this calculated?
0 Likes
1 Reply
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

Have a look at the reference manual, section 17.2.5.1 Calculating the PWM Period and Duty Cycle.

Regards,
Jesus
0 Likes