151
MC96F6432A
ABOV Semiconductor Co., Ltd.
Phase correction & Frequency correction
On operating PWM, the phase and the frequency can be changed by using BMOD bit (back-to-back mode) in
T4PCR1 register. (Figure 1.38, Figure 11.39, Figure 11.40 referred)
In the back-to-back mode, the counter of PWM repeats up/down count. In fact, the effective duty and period becomes
twofold of the register set values. (Figure 1.38, Figure 11.39 referred)
Figure 11.38
Example of PWM Output Waveform
Figure 11.39
Example of PWM waveform in Back-to-Back mode at 4 MHz
T4CNT
Duty
Normal PWM
mode
Output
00
H
00
H
00
H
00
H
00
H
MAX
MAX
MAX
MAX
Period
Duty, Period
Update
T4CNT
Duty
Back-to-Back
mode
Output
00
H
00
H
00
H
MAX
MAX
MAX
Period
Duty, Period
Update
Duty
Period
Non Back-to-Back mode
Back-to-Back mode
T4CNT
P02/PWM4AA
POLAA = 1
T4CR = 03
H
(2 us)
T4PPRH = 00
H
T4PPRL = 0B
H
T4ADRH = 00
H
T4ADRL = 05
H
Source Clock
(f
X
)
Duty Cycle
(1+05
H
)X2 us = 12 us
Duty Cycle
(1+05
H
)X2 us = 12 us
Duty Cycle
(1+05
H
)X2 us = 12 us
Period Cycle
(1+0B
H
)X2 us = 26 us
38.46 kHz
Start down Counter
Period Cycle
(1+0B
H
)X2 us = 26 us
38.46 kHz
Duty match
detect
Start up Counter
Duty match
detect
Содержание MC96F6432A
Страница 16: ...16 MC96F6432A ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 48 Pin QFN Package ...
Страница 17: ...17 MC96F6432A ABOV Semiconductor Co Ltd Figure 4 2 44 Pin MQFP Package ...
Страница 18: ...18 MC96F6432A ABOV Semiconductor Co Ltd Figure 4 3 32 Pin LQFP Package ...
Страница 19: ...19 MC96F6432A ABOV Semiconductor Co Ltd Figure 4 4 32 Pin SOP Package ...
Страница 20: ...20 MC96F6432A ABOV Semiconductor Co Ltd Figure 4 5 28 Pin SOP Package ...