
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
856
Freescale Semiconductor
If both Match A and Match B events occur at the same time, with conflicting pin actions, the priority over
the pin action is mode dependent. For further details on pin action resolution refer to
Match/Transition Pin Action Conflict Resolution
.
24.5.5.2.1
MRLA/B – Match Recognition Latches
MRLA/B indicate the recognition of a match event detected by the comparator. They can be asserted either
on T2 or T4 (see
Section 24.7.1, Microcycle and I/O timing
). Assertion of MRLA/B issues a match Service
Request in specific channel modes, depending on previous events and state of SRI. After reset MRLA and
MRLB are both negated.
When MRLA or MRLB is asserted, it may change the output signal level according to the Input and Output
Pin Action Control registers (refer to
Section , IPACA,IPACB and OPACA,OPACB – Input and Output
). Assertion of MRLA/B causes a capture of one or two time bases, according
to the selected mode capturing scheme (see
Section 24.5.5.3, Transition Detection and Time Base
A match recognition is self-blocking, regardless of Channel Mode: once MRLA (MRLB) has been
asserted, it negates its associated MRLEA (MRLEB) register, preventing future match recognitions, until
the associated match register is rewritten by microcode. The microcode has to enable new matches by
updating the new match value in the MatchA (MatchB) register
1
. In addition, assertion of MRLA/B can
block its twin MRLB/A, depending on the channel mode. In some double match blocking channel modes,
Match A/B event blocks the occurrence of Match B/A in a “first win” scheme.
It is the transition from 0 to 1 in MRL that causes the Match actions: apart from MRLEA/B negation(s),
no action due to a Match occurs if MRL was already set to 1, even if the other MRL assert conditions are
satisfied. However, if a Match and a microoperation negating its corresponding MRL occur at the same
time, MRL negation by microcode overrides its assertion, but any dependable captures and pin action
occurs anyway (if MRL was already negated before), and also the negation of MRLE(s) (the respective
one and, in some channel modes, the other, regardless of MRL state before). Note that MRLE must have
been set before (by writing a new Match value).
24.5.5.2.2
MEF – Match Enable Flag
MEF is a one-bit latch that is unique for all channels in an engine.
MEF can selectively enable assertion of MRLA/B, depending on the IPACA/B field. For IPACA/B = 0xx,
MEF = 1 enables assertion of MRLA/B for the scheduled channel during service. For IPACA/B = 1xx,
Match A/B is always enabled, regardless the state of the MEF, but it still depends on the other Match
recognition conditions. Matches of channels not being serviced are never disabled by MEF.
MEF is not accessible by Microengine or Host. MEF is negated for one microcycle in the middle of the
time slot transition period. After two microcycles (plus wait-states) into TST, the ME bit in the entry point
is copied to MEF to allow selective enabling of MRL for each thread (refer to
). MEF is asserted unconditionally soon after a thread ends.
1. Before that, microcode should also negate MRLA (MRLB), otherwise an old match may be recognized by the scheduler and
serviced as a new one
Содержание 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...