English
Language : 

K60P100M100SF2RM Datasheet, PDF (1022/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Functional Description
39.4.11.10 FTM Counter Synchronization
The FTM counter synchronization is a mechanism that allows the FTM to re-start the
PWM generation at a certain point in the PWM period. The channels outputs are forced
to their initial value (except for channels in output compare mode) and the FTM counter
is forced to its initial counting value defined by CNTIN register.
The following figure shows the FTM counter synchronization. Note that after the
synchronization event had occurred the channel (n) is set to its initial value and the
channel (n+1) is not set to its initial value due to a specific timing of this figure in which
the deadtime insertion prevents this channel output from transitioning to 1. If no deadtime
insertion is selected then the channel (n+1) transitions to logical value 1 immediately
after the synchronization event had occurred.
channel (n+1) match
FTM counter
channel (n) match
channel (n) output
(after deadtime
insertion)
channel (n+1) output
(after deadtime
insertion)
synchronization event
Figure 39-220. FTM Counter Synchronization
The FTM counter synchronization can be done by either the enhanced PWM
synchronization (SYNCMODE = 1) or the legacy PWM synchronization (SYNCMODE
= 0). However, it is expected that the FTM counter be synchronized only by the enhanced
PWM synchronization.
In the case of enhanced PWM synchronization, the FTM counter synchronization
depends on SWRSTCNT and HWRSTCNT bits according to the following flowchart.
1022
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.