FTM counter changes from
(MOD) to (MOD - 1)
FTM counter changes from
(CNTIN) to (CNTIN + 1)
synchronization points if (CNTMIN = 1)
synchronization points if (CNTMAX = 1)
up-down counting mode
FTM counter changes from
MOD to CNTIN
synchronization points if (CNTMAX) = 1 or (CNTMIN = 1)
up counting mode
Figure 42-54. Synchronization Points
42.5.13.4 MOD register synchronization
The MOD register synchronization updates the MOD register with its buffer value. This
synchronization is enabled if (FTMEN = 1).
The MOD register 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 MOD register be synchronized only by the
enhanced PWM synchronization.
In the case of enhanced PWM synchronization, the MOD register synchronization
depends on SWWRBUF, SWRSTCNT, HWWRBUF, and HWRSTCNT bits according to
this flowchart:
Chapter 42 FlexTimer Module (FTM)
S32K1xx Series Reference Manual, Rev. 4, 06/2017
NXP Semiconductors
Preliminary
1237