19.5.11.10 FTM counter synchronizationThe FTM counter synchronization is a mechanism that allows the FTM to restart thePWM generation at a certain point in the PWM period. The channels outputs are forcedto their initial value, except for channels in Output Compare mode, and the FTM counteris forced to its initial counting value defined by CNTIN register.The following figure shows the FTM counter synchronization. Note that after thesynchronization event occurs, 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 thedeadtime insertion prevents this channel output from transitioning to 1. If no deadtimeinsertion is selected, then the channel (n+1) transitions to logical value 1 immediatelyafter the synchronization event occurs.synchronization eventchannel (n+1) matchFTM counterchannel (n) matchchannel (n) output(after deadtimeinsertion)channel (n+1) output(after deadtimeinsertion)Figure 19-57. FTM counter synchronizationThe FTM counter synchronization can be done by either the enhanced PWMsynchronization (SYNCMODE = 1) or the legacy PWM synchronization (SYNCMODE= 0). However, the FTM counter must be synchronized only by the enhanced PWMsynchronization.In the case of enhanced PWM synchronization, the FTM counter synchronizationdepends on SWRSTCNT and HWRSTCNT bits according to the following flowchart.Chapter 19 FlexTimer Module (FTM)QorIQ LS1012A Reference Manual, Rev. 1, 01/2018NXP Semiconductors 947