N1=N0+nK-P(n-1)
N1+K
N1+2K
Final Count = N1+mK
Final Count = N0+nK
E
E
N2=N1+mK-P(n-1)
Target=P(n-1)
SCNT
step
counter
N0
N0+K
N0+2K
N0+3K
P(n)
P(n-1)
P(n-1)
K
K counts
HET[2]
ext. ref.
signal
APCNT
period
counter
SCNT
step
counter
ACNT
angle
generator
P(n-1)
K
Angle Functions
991
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
Figure 23-30. Operation of N2HET Count Instructions
Due to stepping, the final count of SCNT does not usually exactly match the target value P(n-1).
illustrates how SCNT compensates for this feature by starting each cycle with the remainder
(final count - target) of the previous cycle.
Figure 23-31. SCNT Count Operation