
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
957
24.5.9.6.3
ERTA/B as ALU destination and ERWA/B
The value in ERTA and ERTB registers can be written in match registers of the selected channel by using
fields ERWA and ERWB (
Section 24.5.9.3.5, Write Channel Match and UDCM Registers
). If, at the same
microinstruction, ERTA or ERTB is the destination of an ALU/MDU microoperation, the value written in
the Match registers is the ALU/MDU result.
The same applies to UDCM when ERTA is the destination of an ALU operation and instruction fields
ERWA and CMW are active.
If an ALU operation occurs in parallel with ERWA/B but ERTA/B are not the destination of an ALU/MDU
operation, then UDCM and MatchA/B receives the ERTA/B value.
24.5.9.6.4
ERWA/B and MRLE
ERWA/B automatically sets the MRLEA/B channel latch, respectively (see
Channel Match and UDCM Registers
). Microinstruction fields ERWA/B independently sets MRLEA/B
channel flags, regardless of MRLE.
24.5.9.6.5
CHAN assignment, Read Match and ERWA/B
When CHAN is a destination of an ALU operation it causes a read of the CaptureA/B register values into
ERTA/B. The Capture registers loaded into ERTA/B are selected by the new CHAN value. The value of
the CaptureA/B registers overwrites any read-match commanded simultaneously.
If CHAN assignment happens with an ERWA/B operation in the same instruction, the updated Match
register(s) belong to the new selected channel.
24.5.9.6.6
Read Match and ERWA/B
If a read match operation is executed with ERWA/B in the same microinstruction, the MatchA/B registers
receive the old values of ERTA/B, and the ERTA/B registers receive the old MatchA/B values
simultaneously, i.e.: ERTA/B and MatchA/B swap their values.
If ERTA/B is the destination of an ALU operation at the same instruction, MatchA/B gets the ALU result
(see
Section 24.5.9.6.3, ERTA/B as ALU destination and ERWA/B
), but the ERTA/B not being written still
receives the old MatchA/B values.
yes
yes
SPRAM read data
(post-inc, pre-dec and ALU result
ignored)
no
yes
ALU result
(post-inc an pre-dec ignored)
Table 24-117. DIOB load from SPRAM and ALU
DIOB selected as
SPRAM read destination?
DIOB selected as
ALU destination?
DIOB load value
Содержание 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...