
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
874
Freescale Semiconductor
blocks both match recognitions, the match recognition of the other timed task is based on the fact that the
comparator checks greater-equal conditions. It may be delayed if it occurs in the period between the signal
transition detection (which blocks it) and the time TDLA is negated by microcode. If matches are enabled
during the service, the same code can check if the match recognition of the timed task occurred in this
period, by negating TDLA and writing to the CHAN register its own value (in order to update the MRLA
flag in the branch logic).
Either Match, Non Blocking, Double Transition (em_nb_dt)
In this mode each transition is related to one match recognition, and the match recognitions are
independent of each other. This mode can be used to give independent timeout conditions for the first and
the second signal transition recognitions, and call service in any case of any timeout condition.
The first transition detection programmed in IPACA sets TDLA, captures its related timebase, blocks
Match A recognition and enables TDLB assertion. The second transition detection programmed in IPACB
sets TDLB, blocks Match B recognition, captures its related timebase and generates a service request. Any
match recognition that occurs captures its related time base and generates a match service request,
independent on the other match recognition.
Match B Request, Single Transition (m2_st)
On an input signal, this mode provides an open window filter for a single signal transition. MRLA
assertion opens the window, and enables transition detection on TDLA from this time on. MRLB assertion
blocks Match A (by negating MRLEA), providing conditional window opening, because transitions are
indirectly blocked. It also generates service request, but if it happens after Match A it does not block
transitions, providing a non-blocking timeout mechanism for the estimated signal transition time (typically
it indicates a missing transition, or mis-prediction of the transition time).
Transitions can be detected from the microcycle following MRLA assertion. The Transition A detection
asserts TDLA, blocks both matches, captures both timebases and generates service request.
Using this mode, the channel can replace software open window filtering of qualified transitions with the
channel hardware window. The window opening and timeout can be scheduled for any of the two time
bases or combination of them. Typically, Match A will be used to open a prediction window, and Match B
will be used as a timeout condition which does not close the prediction window. This configuration
improves noise immunity from early signal transitions, and reduces the probability for blocking late signal
transitions due to timeout mis-prediction.
Using these conditions, the microcode can easily resolve the state:
•
If TDLA and MRLA are asserted and MRLB negated, signal transition is in the expected range.
•
If MRLA and MRLB are both asserted, and TDLA is asserted, the signal transition had a timeout
condition due to Match B mis-prediction.
•
If MRLB is asserted and TDLA negated, a timeout condition occurred, and the expected signal
transition had not occurred yet.
•
If MRLA is negated and MRLB is asserted, the conditional window did not open at all (for
example: a time window is open only after a specific angle, otherwise it is not opened).
Содержание 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...