
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
858
Freescale Semiconductor
set of MRLE. In this case, both MRL and MRLE will be set, and a match service request will occur if
enabled. However, the match happened on the old match value, not on the new (reprogrammed) one. In
order to prevent this ambiguity to the code that services the match, it is advisable to clear the MRLE
(besides MRL) together with the match reprogramming, avoiding the match on the old value to occur while
the new match value is being written. The set of the MRLE due to match reprogramming prevails over the
MRLE clear, thus allowing the new programmed match to occur.
24.5.5.3
Transition Detection and Time Base Capture
Time Base Capture(s) occur when the value of a specified TCR is sampled into the CaptureA and/or
CaptureB register. TBSA[1] and TBSB[1] select which TCR will be captured in CaptureA and CaptureB,
respectively.
A capture event may occur due to either of the following events:
•
The assertion condition of Match Recognition Latch (MRL), even if MRL is simultaneously
negated by microcode
•
The assertion condition of Transition Detection Latch (TDL), even if TDL is simultaneously
negated by microcode.
•
Any Transition Event specified by IPACA if both the Transition Detection Latch TDLA and
Transition Continuous Capture Enable TCCEA are asserted.
A capture event occurs together with the assertion of MRL or TDL either on T2 or T4 positive edges, and
captures the time-base value that caused the match, even if TCR1/2 increments concurrently with the
assertion (see
Section 24.7.1, Microcycle and I/O timing
1
. MRLA/B and TDLA may, depending on the
channel mode, inhibit the capture of the second event’s TCR into CaptureA/B. As a general rule, values
captured by signal transitions are not overwritten by values captured by match events.
When the enable bit TCCEA is asserted, captures due to Transition Events also occur after TDLA is
asserted. Those captures happen on transition events specified by IPACA, and the TCR value is saved into
CaptureA register only.
The capturing scheme is defined by the Channel Mode programmed at register PDCM, or at register
UDCM when User Defined Channel Mode is selected. For more information on mode-dependent capture
schemes refer to
Section 24.5.5.4, Channel Modes
24.5.5.3.1
TDLA/B – Transition Detect Latches
TDLA/B indicate detection of specific transition occurrences on a channel input signal. TDLA and TDLB
assertion causes service request in single and double transition predefined modes, respectively. TDLB
assertion does not cause Service Request in single transition predefined modes, and TDLA assertion does
not cause Service request in double transition predefined modes. In single transition channel predefined
modes TDLB can be asserted on the second transition, but does not generate Service Request. Yet on
predefined modes, TDLB assertion is enabled only if TDLA is asserted to detect an ordered input signal
double transition. All the restrictions above, however, may be overridden by using the User Defined
Channel Mode. The IPACA and IPACB registers indicate the programmed edges of the first and second
detected transition, respectively.
1. In TPU3, when TCR1 was counting at maximum rate of system clock divided by 2, the next value was captured.
Содержание 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...