
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
813
NOTE
Even if a Transition or Match Service Request is inhibited (by channel
mode/state or SRI), the Transition Detection and Match Recognition are
taken into account for condition encoding. That is, the MRLA/B and
TDLA/B flags are used, not their respective Service Requests.
Columns Host Request Bits, Link Request, MatchA/TransB, and MatchB/TransA determine the type of
event. A non-zero value in these columns represents the recognition of the event, while “x” indicates that
its recognition is irrelevant. Values 1 and 0 mean that event was recognized or not, respectively. Note that
Match and Transition events may occur and not be recognized, and in this case it assumes value 0 for the
condition encoding. The recognition of such an occurred event depends on the channel mode assigned and
other conditions, as described in
Section 24.5.5, Enhanced Channels
The
Host Service Request Bits
column refers to the value written by the Host CPU to the Host Service
Request Register (ETPU_CxHSRR) of the Channel being serviced. Note that the bits on this row are coded
(3-bit representation). If the value of HSR is not zero, then the Host actually requested service.
The
Link Request
column refers to the occurrence of a Channel Link request.
The
MatchA/TransB
column refers to the recognition of either a Match event specified by MatchA
channel register or the detection of a channel input signal event specified by the IPACB configuration
register (see
Section 24.5.5.1.2, Pin Control Registers
).
The
MatchB/TransA
column refers to the recognition of either a Match event specified by MatchB
channel register or the detection of a channel input signal event specified by the IPACA configuration
register (see
Section 24.5.5.1.2, Pin Control Registers
).
For the channel input signal, MatchA and MatchB provide double timeout conditions which depend on the
channel mode programming (see
Section 24.5.5.4, Channel Modes
). If the channel is used for output only,
there are no transition detections, so the MatchB/TransA column represents only Match B, and
MatchA/TransB column the Match A. In this case Match A and Match B are separated to give better state
resolution in double match output functions. For more information about channel requests refer to
Section 24.5.5, Enhanced Channels
Besides those events, the following channel state conditions help to determine the Entry Point:
1. Channel Flags 0 and 1: these are channel-internal flags (not in SPRAM) associated with a channel.
Their values are set by microcode (see
Section 24.5.9.3.1, Channel flags operations
2. Input Pin state or Output Flip Flop: the state (0 or 1) of the channel input signal after the Enhanced
Filter (see
Section 24.5.5.6, Enhanced Digital Filter – EDF
), or the state driven to the output signal.
Which one (input or output) is used is selected by the ETPU_CxCR bit ETPD.
The two Entry Table Condition encoding schemes combine events and state conditions differently, as
detailed in the following sections.
24.5.1.1.3
Standard condition encoding scheme
In this scheme, shown in
, all seven HSR combinations are used and other event type columns
are marked “x” when HSR is non-zero, indicating that Host Service Request has priority over any other
Summary of Contents for MPC5644A
Page 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Page 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Page 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Page 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Page 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Page 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Page 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...