
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
857
If a channel service needs to postpone a programmed match, MEF assures that microcode wins the race
against match event after time slot transition (only for IPAC = 0xx).
Note that a match event may be lost during the periods when MEF is negated only if:
•
the match comparator is configured for “equal-only” behavior, and
•
IPACA/B = 0xx, and
•
TCR increments at the rate of system clock divided by 2 or faster.
When the comparator is configured as “greater-equal”, the match event that occurred when MEF was
negated may be recognized after MEF is asserted again, due to the “greater than” condition.
24.5.5.2.3
MRLEA/B – Match Recognition Latch Enable
MRLEA/B is negated upon the assertion of its respective MRLA/B. In blocking match channel modes it
may also be negated together with the assertion of the twin MRLB/A. The MRLEA/B bits ensure that data
captured due to the first match event will not be overwritten when MRLA/B is negated: due to
greater-equal comparison, the match condition continues to be true, but should not cause another capture
event.
In addition to negation by local match event, the microcode can negate both MRLEA and MRLEB, to
block pending matches, and also MRLA/B, individually. This action will prevent future match events from
the selected channel.
Writing the MatchA/B registers by microcode to schedule the next match values sets MRLEA and/or
MRLEB and enables new matches. This setting overrides the MRLE negation conditions due to channel
logic or microcode (see
Section 24.5.5.4, Channel Modes
). By combining write to Match A/B with
MRLEA/B negation microinstructions, the microcode can negate one MRLE while asserting the other.
NOTE
If the MRLE negation conditions continue after writing MatchA/B registers,
the respective MRLE does not keep asserted. For instance, if MRL = 1 and
a match is programmed for a time value in the past during a thread with
MEF = 1, then MRLE will be cleared soon after MatchA/B is written, even
though a match does not occur (because MRL was already asserted, neither
captures nor pin toggles occur).
When the match register is updated (with MRLE already asserted before) and field MRLA/B = 1 (no clear,
see
Section 24.5.9.3.6, Clear transition/match event registers
) and MRLA/B flag is zero, the eTPU behaves
exactly as the TPU, that is: a match that comes concurrently with the rewrite of the match register,
matching the old value, sets the MRL, as if the setting of the MRLE due to match register write had
precedence over its clear by the match at that moment. After this simultaneous operation, the MRLE value
stays at 1, and the captured time base value, if any, reflects the match value.
When the match register is updated (with MRLE already asserted before) and field MRLA/B = 0 (clear
MRL, see
Section 24.5.9.3.6, Clear transition/match event registers
) and MRLA/B flag is zero, the match
captures will occur, the MRLA/B flag will keep negated, and MRLE will stay asserted. If a match is
reprogrammed on TCR1 running at T2/T4 timing (TCR1CS = 1, see
eTPU Time Base Configuration Register
), a match can occur after MRLA/B is cleared, together with the
Содержание 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...