
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
860
Freescale Semiconductor
channel mode characteristics are fixed in the predefined modes, but can be individually programmed in
the user-defined channel mode.
A generic description of channel modes from the usage point of view can be found in
. Each mode is named with a mnemonic acronym for terse reference. The
individual programmed attributes of the user-programmable channel mode are also described.
The modes are used differently for input and output signals, as explained in
Section 24.5.5.4.3, Predefined
Channel Modes on Input Signal Processing
, and
Section 24.5.5.4.4, Channel Modes on Output Signal
. Modes also allow combining input processing and output generation in a single channel, as
exemplified in
Section 24.5.5.4.5, Combining Input and Output Signals
.
Section 24.5.5.4.1, Channel Mode Logic and Event Flags
, shows a structural definition of channel logic
and its relation to channel modes. A dynamic, event-oriented view of each channel mode can be found in
Section 24.7.3, Predefined channel mode summary
24.5.5.4.1
Channel Mode Logic and Event Flags
shows a more detailed diagram of channel mode logic. The logic shown here is not
necessarily identical to the actual channel logic implementation, but is equivalent with respect to
conditions for event blocking, enabling, capture, and service requests.
Signals MSR, TSR, MCAP, TCAP, M1ET, M1EM2, M1BM2, M2BM1, M2BT, T1BM1, T2BM1, TBM2
and T1ET2 are decoded from programmed channel mode PDCM in predefined modes, and come directly
from the UDCM register when user-defined mode is selected:
•
TSR (1 bit) defines Service Requests issued by Transitions, as shown in
•
MSR (2 bits) defines Service Requests issued by Matches, as shown in
.
•
TCAP (1 bit) defines time base captures caused by Transitions, as shown in
.
•
MCAP (1bit) defines time base captures caused by Matches, as shown in
.
•
M1ET, M1EM2, M1BM2, M2BM1, M2BT, T1BM1, T2BM1, TBM2, T1ET2 (1 bit each) define
Match and Transition reciprocal blocking and enabling, as well as Transition ordering, as shown in
.
shows the decoded values of those control signals for each predefined channel mode. The first
column shows the mnemonic reference for the predefined channel modes described in the following
sections.
Changing PDCM or the UDCM when user mode is selected may set or reset any of the channel flags, or
issue captures and service requests, so it is advisable to switch channel modes only in a quiescent channel
state, with channel flags MRLEA/B, TDLA/B, MRLA/B cleared. Furthermore, an event flag asserted in
one mode may keep asserted after the mode programming change, even if the flag is impossible to be set
in the new mode.
Table 24-50. MSR[1:0] signals – Match Service Requests
Value
MSR
00
issue no Service Requests on Matches
01
issue Service Request on Match B only
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...