
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
885
NOTE
If the ETPU_TBCR field TCRCF selects the filter clock of the channels (see
Section 24.4.3.1, ETPU_TBCR – eTPU Time Base Configuration
Register
), the TCRCLK filter will be clocked as if FCSS = 0 always
dividing system clock /2 using FPSCK, regardless if FCSS is 0 or 1.
24.5.5.7
Channel Timing Modes
Channels can work on two different timing schemes, defining the period of channel clocking, tied to T2
and T4 microengine phases, as explained in subsections below. Microengine T2 and T4 phases are shown
in
Section 24.7.1, Microcycle and I/O timing
.
24.5.5.7.1
T2 Channel Timing
In T2 timing mode the channel event state can only be updated every two system clocks (see
).
Pin state, TDLs, MRLs and Capture registers are updated on the microengine’s T2 clock phase. MRLE
clears also happen on T2, but MRLE setting occurs on T4, together with the Match register write by
microcode (see
Section 24.5.9.3.5, Write Channel Match and UDCM Registers
Channels work in T2 timing mode when all the following conditions are true:
•
ETPU_TBCR bit TCR1CS is 0 (see
Section 24.4.3.1, ETPU_TBCR – eTPU Time Base
).
•
the Enhanced Digital Filter is not configured as bypass (see
Section 24.5.5.6, Enhanced Digital
•
ETPU_ECR bit FCSS is 0 (see
Section 24.5.5.6.5, Filter Clock Prescaler
).
24.5.5.7.2
T2/T4 Channel Timing
In T2/T4 timing mode the channel event state can be updated on any system clock (see
). Pin
state, TDLs, MRLs, MRLEs, and Capture registers are updated either on microengine’s T2 or T4 clock
phases. MRLE clears can happen on T2 or T4, but MRLE setting occurs on T4 only, together with the
Match register write by microcode (see
Section 24.5.9.3.5, Write Channel Match and UDCM Registers
Channels work in T2/T4 timing mode when either one the following conditions are true:
•
ETPU_TBCR bit TCR1CS is 1 (see
Section 24.4.3.1, ETPU_TBCR – eTPU Time Base
).
•
the Enhanced Digital Filter is configured as bypass (see
Section 24.5.5.6, Enhanced Digital Filter
).
•
ETPU_ECR bit FCSS is 1 (see
Section 24.5.5.6.5, Filter Clock Prescaler
).
24.5.6
Time Bases
Each eTPU engine has two Time Counter Registers, TCR1 and TCR2. They provide 24-bit time bases,
shared by all 32 channels. Any channel can use both time bases to:
2
Integrator mode is available for TCRCLK filtering only, see
Section 24.5.6.5, TCRCLK digital filter
.
Содержание 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...