MC96F6432
June 22, 2018 Ver. 2.9 163
Figure 11.40 Example of Phase Correction and Frequency correction of PWM
External Sync
If using ESYNC bit of T4PCR1 register, it is possible to synchronize the output of PWM from external signal.
If ESYNC bit sets to ‘1’, the external signal moves to PWM module through the BLNK pin. If BLNK signal is low,
immediately PWM output becomes a reset value, and internal counter becomes reset. If BLNK signal returns to
‘1’, the counter is started again and PWM output is normally generated. (Figure 11.41 referred)
PWM Halt
If using PHLT bit of T4PCR1 register, it is possible to stop PWM operation by the software. During PHLT bit
being ‘1’, PWM output becomes a reset value, and internal counter becomes reset as 0. Without changing PWM
setting, temporarily it is able to stop PWM. In case of T4CNT, when stopping counter, PWM output pin remains
before states. But if PHLT bit sets to ‘1’, PWM output pin has reset value.
Figure 11.41 Example of PWM External Synchronization with BLNK Input
T4PCR1 = 40
H
(EYNC=1)
T4PPRH = 00
H
T4PPRL = 2A
H
T4ADRH = 00
H
T4ADRL = 12
H
BLNK “1”
PWM OUTPUT
HIGH-Z
HZCLR “1”
PWM Release
HIGH-Z