
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
888
Freescale Semiconductor
•
Angle Clock Mode: Count internal tooth angle in combination with the eTPU Angle Counter
(EAC) hardware which implements an Angle PLL, and generates angle information to the
channels. This mode is targeted for angle based applications.
•
STAC (STAC) Bus Client Mode: TCR2 is driven by an external source (see
•
Gated Mode: Count with rate derived from the system clock divided by eight. The TCRCLK signal
is used to gate this count, enabling pulse accumulator operations.
•
Internally Clocked Modes: TCR2 is driven by internal clock, with count rate either system clock
divided by eight or driven from the rising edge of a Peripheral Timebase Clock defined at MCU
integration. The use and rate of the Peripheral Timebase Clock is MCU-dependent, but must not
exceed system clock divided by two.
All clock sources pass through a prescaler. In addition, the TCR2 count can be originated from the EAC
which is a hardware angle clock and angle counter.
shows the diagram for TCR2 clock
control. When TCR2 is not driven by the EAC or STAC, the ETPU_TBCR field TCR2CTL selects the
clock source, also allowing TCR2 to be frozen independently of TCR1 (see
ETPU_TBCR – eTPU Time Base Configuration Register
). When in Angle Mode, TCR2CTL selects the
TCRCLK edge sensitivity.
Figure 24-50. TCR2 Clock Control
The TCRCLK signal input is passed through a synchronizer and a programmable digital filter. In Angle
Mode with AM = 01, synchronizer and filter are also used in Channel 0, replacing its input synchronizer
and filter, to get the same timing in the EAC and Channel 0. The TCRCLK synchronizer is an improved
filter that provides best latency while maintaining proper noise filtering (see
ETPU_TBCR – eTPU Time Base Configuration Register
, field TCRCF[1:0]—TCRCLK Signal Filter
Control).
SYNC.
SYSTEM CLK / 8
ETPU_TBCR
TCR2
0
23
TCR2
PRESC.
TCRCLK
PROGRAMMABLE
DIGITAL
FILTER
ETPU_TBCR
000
001
010
011
1, 2, . . . , 64
FILTER
CLOCK
SYSTEM
CLOCK/2
0
1
6
2 samp
Integr.
3
ETPU_ECR[FPSCK]
ETPU_TBCR[TCRCF1]
GEN.
FILTER CLOCK
eTPU ANGLE
Angle Mode
ETPU_TBCR[AM]
1
0
COUNTER
Pin
[TCR2CTL]
3
[TCR2P]
(EAC)
to Channel 0 input on Angle Mode (AM = 01)
101
PERIPHERAL TIMEBASE
CLOCK
Filtered signal for TCR1 clock
ETPU_TBCR[TCRCF0]
1
0
to all channel filter
clocks
111
no clock
100
STAC bus
Содержание 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...