
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
879
associated with output pin actions and Match B recognition for a timed microcode task which has to be
scheduled at a programmed time which may be delayed by the Match A pin action.
Single Match Modes (sm_st, sm_dt, sm_st_e)
There is no difference between plain and enhanced single match modes on an output signal.
In this mode the channel logic is functionally back-compatible to a TPU3 single match output channel.
Match A recognition generates service request and sets the pin state according to OPACA register. It
captures at once the timebase selected by TBSA in CaptureA and the timebase selected by TBSB in
CaptureB.
Match/Transition Pin Action Conflict Resolution
In output signals, matches and/or transitions automatically cause pin actions defined by the OPACA/B
and/or IPACA/B channel control registers (see
Section 24.5.5.1.2, Pin Control Registers
). Simultaneous
matches/transitions may be associated with different, possibly contradictory, pin actions. These conflicts
are resolved according to the
If an OPACA/B = 000 (no action) prevails over non-zero OPAC according to
, then if Match
A/Transition A and Match B/Transition B occur simultaneously, no output pin action occurs, that is: a
match on the action logic with OPAC = 000 inhibits simultaneous actions of the other OPAC, if prevailing
according to
. That also applies when output actions are caused by inputs (OPAC = 1xx).
24.5.5.4.5
Combining Input and Output Signals
The processing of input signal can be combined with output signal generation. A detected input transition
can trigger an output signal edge, even without microcode intervention, by using OPAC options 1xx.
The channel set-up examples below show these two capabilities combined (see
The
first example
implements a fast (no microcode intervention) short-circuit protection feedback
mechanism for driving high-current output devices. The signal after the high-current driver feeds back to
the channel input. The input signal is normally delayed from the output signal by the device turn-on delay.
After the channel output turns on, the channel logic must check if the driver output (connected to the
channel input) follows the driven value after the maximum device turn-on delay. If it does not, the driver
output is probably shorted, and the channel output must be turned off immediately to avoid damaging the
device.
Table 24-56. Simultaneous match pin action priority
Channel mode
Priority
em_nb_st / em_nb_dt
OPACA
em_b_st / em_b_dt
OPACA
bm_st / bm_dt
OPACA
m2_st / m2_dt
OPACB
m2_o_st / m2_o_dt
In these modes there is no possibility of simultaneous matches
user-defined
OPACB if M2BM1 = 1 and M1BM2 = 0, OPACA otherwise
Содержание 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...