
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
859
The sampling of a determined value (0 or 1) on the input signal due the occurrence of a Match is also
treated as a “transition”, depending on IPACA/B programming (see
OPACA,OPACB – Input and Output Pin Action Control Registers
). When using a channel mode where
the transition1 is initially blocked and IPACA is programmed to detect such “transitions”, the occurrence
of a Match A only unblocks the transition after the sampling. It means that the transition on the first Match
(IPACA configurations 100 and 101) is not effective on predefined modes where Transition A is enabled
by Match A (m2_st, m2_dt, m2_o_st and m2_o_dt) or user-defined modes with UDCM bit M1ET
asserted. A Transition A can still happen after the Match A, however, if MatchA register is reprogrammed
without clearing MRLA.
TDLA/B assertion conditions initiates a capture event of one or both selected TCR buses. TDLA or TDLB
transition event generates a Service Request, depending on channel mode, previous events and the state of
SRI. For more information on the service request scheme, refer to
Section 24.5.1.1.2, Entry point address
Section 24.5.5.4, Channel Modes
Assertion of TDLA/B occurs on either T2 or T4 positive edges. The capture event occurs on the same
clock, and captures the time base value present when TDLA/B was asserted
negated during reset and may also be negated independently by microcode. TDLA/B is reset by no way
other than reset and microcode.
It is the transition from 0 to 1 in TDL that causes the Transition actions: even if TDL assert conditions are
satisfied, no action due to a Transition occurs if TDL was already set to 1. However, if a Transition and a
microoperation negating TDLs occur at the same time and TDL was already negated, TDL negation by
microcode overrides its assertion, but any dependable captures and pin action occurs anyway.
24.5.5.3.2
TCCEA – Transition Continuous Capture Enable
TCCEA enables capture from transitions after the TDLA flag is set. TCCEA is negated on reset, so that a
capture occurs only when TDLA asserts. TCCEA can be set and reset by microcode only, through the
instruction field MTD (see
Section 24.5.9.3.8, Disable match and transition service requests
). It can only
be set together with inhibiting of the channel service requests (SRI = 1)
1
.
When TCCEA is asserted, the transition events specified by IPACA that occur after TDLA is set also cause
captures into the CaptureA register only. However, output actions related to transition events are still
blocked by TDLA.
24.5.5.4
Channel Modes
The Enhanced Channels support various modes of operation combining Match A/B recognition and
transition detection events which set MRLA/B and TDLA/B. The channel mode is individually set for each
channel by eTPU microcode, through the PDCM register (see
Section , PDCM – Predefined Channel
). The PDCM register selects among a set of 13 predefined channel modes, and also a user-defined
channel mode.
The order in which events occur, combined with assigned channel mode, establish which following event
detections are inhibited and/or enabled, as well as the actions taken: Time Base capture, flag setting
(MRLA/B, TDLA/B), match disabling (MRLEA/B), output signal transition, and Service Request. Those
1.TCCEA provides compatibility with TPU when service request is inhibited.
Содержание 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...