EasyManuals Logo

Texas Instruments TMS570LC4357 User Manual

Texas Instruments TMS570LC4357
2208 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #999 background imageLoading...
Page #999 background image
P(n-1)
SCNT
N0 +K
N0 +2K
N0 +3K
N0 +4K
N0
N1 +K
N1 +2K
N1 +3K
N1 +4K
N1=N0+nK-P(n-1)
Final Count = N0+nK
Final Count = N1+mK
N2=N1+mK-P(n-1)
ACNT
SCNT
PCNT
Input pin
K counts
P n 1( )
K
---------------------
P n 1( )
K
---------------------
P(n-1)
P(n)
Angle counter
Step counter
Period counter
www.ti.com
Angle Functions
999
SPNU563AMarch 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
Figure 23-39. Angle Generation Using Time Based Algorithm
Because of stepping, the final count of the SCNT will usually be unequal to the target value PCNT(n-1)
and then will overflow. To compensate for this error generated by the algorithm, reset the SCNT to the
remainder of the difference between (SCNT - PCNT(n-1)).
To see how the SCNT and PCNT(n-1) generate angle ticks and compensate for the error due to the
integer fractions, see Figure 23-40.
Figure 23-40. SCNT Stepping Compensation

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS570LC4357 and is the answer not in the manual?

Texas Instruments TMS570LC4357 Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS570LC4357
CategoryMicrocontrollers
LanguageEnglish

Related product manuals