Implementation
PWM generation example
The FXU clock 1 frequency (f
fxclk1
) is 6.250 MHz in this example. The period value to have the
desired PWM frequency (f
PWM
) is calculated with the following formula:
𝑃𝑒𝑟𝑖𝑜𝑑 =
𝑓
𝑓𝑥𝑐𝑙𝑘1
𝑓
𝑃𝑊𝑀
In this example:
𝑃𝑒𝑟𝑖𝑜𝑑 =
6.250 𝑀𝐻𝑧
125 𝐻𝑧
= 50000 𝑡𝑖𝑐𝑘𝑠 ⇒ 8 𝑚𝑠
t
t
PWM signal
Period of PWM
FXU clock 1
Frequency of the
clock
Duty cycle of the PWM
9
2020-01-17
Copyright © Infineon Technologies AG 2020. All rights reserved.