Mod Register Synchronization - NXP Semiconductors freescale KV4 Series Reference Manual

Table of Contents

Advertisement

Functional description
loading points if CNTMAX = 1 or CNTMIN = 1
CNT = MOD -> CNTIN
up counting mode
loading points if CNTMAX = 1
CNT = (MOD - 0x0001) -> MOD
up-down counting mode
CNT = (CNTIN + 0x0001) -> CNTIN
loading points if CNTMIN = 1
Figure 39-209. Boundary cycles and loading points

39.5.11.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:
KV4x Reference Manual, Rev. 2, 02/2015
Preliminary
976
Freescale Semiconductor, Inc.

Advertisement

Table of Contents
loading

Table of Contents