
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
876
Freescale Semiconductor
Using this mode, the channel can replace software window filtering of qualified transitions with the
channel hardware window. The window opening and closing time can be scheduled for any of the two time
bases or a combination of them.
Ordered Mode with Match B Request, Double Transition (m2_o_dt)
In this mode the channel logic implements a window filter for two detected signal transitions. MRLA
assertion captures its related timebase and enables the assertion of both TDLA and TDLB. MRLB
assertion captures its related timebase and disables the assertion of both TDLA and TDLB. Transitions can
be detected from the microcycle following MRLA assertion until the microcycle on which MRLB is
asserted. The first signal transition (following MRLA assertion) asserts TDLA, captures its related
timebase and enables assertion of TDLB. The second signal transition detection asserts TDLB, blocks
Match B, captures its related timebase and generates the service request.
If both signal transitions occur inside the scheduled window, Match B recognition is blocked. If one or
both signal transitions do not occur inside the scheduled window, Match B recognition generates a match
service request and blocks further transition detections. The microcode can resolve the state using MRLA,
MRLB, TDLA and TDLB, which affect the entry point selection.
Single Match Enhanced Mode (sm_st_e)
This is an enhanced single transition and single match channel mode which provides timing information
of the digital filter delay.
The CaptureA register captures the timebase selected by TBSA due to transition detection specified by
IPACA or match recognition, as in sm_st mode. Initially, the CaptureB register continuously captures the
unfiltered IPACB-selected signal transitions from the digital filter input, directly from the signal
synchronizer. When an IPACA-qualified, filtered transition detection occurs, TDLA is set, MRLA
assertion is blocked, and, in addition, captures into CaptureB are also blocked. On service, CaptureA and
CaptureB (copied into ERTA and ERTB) holds the time of the qualified transition detection (ERTA), and
the time of the last signal transition at the input of the digital filter (ERTB). Subtracting the time in ERTB
from the time in ERTA provides the delay of the digital filter.
In a quiet environment, the two captures provide the accurate delay of the digital filter in granularity of
two system clocks. In a noisy environment, false transitions may be detected at the input of the digital filter
due to the noise, and the delay measurement may be reduced, especially if IPACB selects both edge
detection. The microcode can do sanity checks on this value to recognize noise effects (for example:
calculated delay is less than the minimum delay of the digital filter).
NOTE
In Channel 0, if ETPU_TBCR field AM = 01 (Angle Mode), the unfiltered
input comes from TCRCLK input and the filtered input comes from the
TCRCLK filter output. The edge is selected by IPACA/B, and is
independent of the edge selection by ETPU_TBCR field TCR2CTL.
Содержание 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...