MAN1029-10-EN_EXL10_XL10P_UM
J u l y 6 , 2 0 2 2
P a g e 103 | 195
9.7
PWM Examples
Example 1
Duty Cycle
Frequency
To get a 50% Duty Cycle @ 10kHz
waveform on PWM1:
Set %AQ421-422 = 16,000
Set %AQ423-424 = 10,000
Example 2
Duty Cycle
Frequency
To get a 50% Duty Cycle on PW1
and 90 % Duty Cycle on PWM2 @
1kHz waveform:
Set %AQ421-422 = 16,000
Set %AQ431-432 = 28,800
(duty cycle (32000 * 0.9))
Set %AQ423-424 = 1,000
Set %AQ433-434 = 1,000
Example 3
Duty Cycle
Frequency
To turn PWM 1 output ON all the
time
Set %AQ421-422 = 32,000
Set %AQ423-424 = Any Value
Example 4
Duty Cycle
Frequency
To turn PWM 1 output OFF all the
time
Set %AQ421-422 = 0
Set %AQ423-424 = Any Value
Table 9.10
–
PWM Examples