
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
895
24.5.7.2.1
TPR – Tooth program register
TPR provides configuration for the Angle Counter circuit. In this register, the microcode can properly
adjust the tooth count (controlling last tooth, missing teeth, dummy tooth insertion, halt until tooth
detection) and the number of angle ticks per tooth (field TICKS). Note that this register is sampled into a
temporary register in the EAC logic when the High Rate Mode is detected (see
Section 24.5.7.12.1, TPR buffering
), which means that changes to this
register may take effect only for the next tooth.
Refer to
Section 24.5.7.5, Count control and high rate logic
Section 24.5.7.6, Special cases of
Section 24.5.7.9, Handling false tooth detection
explanation about the use of this register.
provides a detailed description of the TPR.
Several conflict issues on TPR writes are explained in
Section 24.5.7.12, Special TPR write cases
Figure 24-52. TPR Register
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R LAST MISS
CNT
IPH
HOL
D
TPR
10
TICK
S
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Field
Description
[9:0]
TICKS
Angle Ticks Number in the Current Tooth
This field defines the number of angle ticks in the current physical tooth. It partitions the tooth period to the
required number of angle ticks. The actual number of angle ticks in a tooth is (TICKS+1).
Section 24.5.7.5.3, High rate mode (Acceleration)
), TPR writes are immediately
effective only for bits IPH and HOLD. All other fields changes are “buffered” and become effective when
EAC leaves High Rate mode. See also
Section 24.5.7.12, Special TPR write cases
.
Bits LAST, IPH and HOLD must not be asserted all at once.
10
TPR
TPR register
Reserved bit. In Angle Mode, must always be written 0 by the user, but holds the value written, so that TPR
can be used as a general purpose register bit when angle mode is off.
11
HOLD
Force EAC Hold
This bit forces the EAC to halt its operation in a special EAC freeze mode until a new physical tooth (a real
one or emulated with IPH = 1) is detected. Assertion of this bit immediately freezes the EAC in the middle
of the tooth period. When a new physical tooth is detected, the bit is automatically negated by the EAC.
The HOLD bit can be used for synchronizing the EAC tooth count, in case that a false physical tooth is
detected due to noise.
Normal Operation.
Force EAC to halt until detection of a physical tooth.
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...