
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
958
Freescale Semiconductor
NOTE
Read match, ERWA/B and CHAN assignment can be active at the same
instruction. Combining rules
Section 24.5.9.6.5, CHAN assignment, Read
Section 24.5.9.6.6, Read Match and ERWA/B
result is: ERTA/B receives the CaptureA/B values of the new CHAN value,
and MatchA/B of the new channel receives the old ERTA/B value(s).
24.5.9.6.7
Stack accesses and ALU operations
Post-increment is ignored in a stack operation (field STC) if DIOB is loaded from SPRAM: DIOB keeps
the value read from SPRAM. Pre-decrement is ignored in a stack operation (field STC) if DIOB is
destination of an ALU operation, for DIOB load value, but not for DIOB as address.
Post-increment/pre-decrement remains valid in all other situations. These rules can be summarized in the
following equivalent C code, and in
DIOB = *DIOB[15:2]; // read without posinc/predec
*DIOB[15:2] = DIOB; // write without posinc/predec
DIOB = *(--DIOB[15:2]); // read with predec
DIOB = *DIOB[15:2]; // read with posinc (ignored)
*(--DIOB[15:2]) = DIOB; // write with predec
*DIOB[15:2]++ = DIOB; // write with posinc (value written is before increment)
24.5.9.6.8
SRC and ALU/MDU operations
If operation SRC is active (field SRC = 0) and register SR is selected as destination of an ALU operation,
the value of the ALU operation prevails over the shifted value.
The value of SR used as source in the ALU/MDU operation is the one before the shift.
24.5.9.6.9
Semaphore lock/free and SMLCK branch condition
When the SMLCK branch condition is tested at the same microinstruction of a semaphore lock or free, the
condition is evaluated after the semaphore action (either free or lock) is taken.
24.5.9.6.10
Dispatch and SPRAM read
When the most significant byte of P is read from SPRAM (read 8 msb bits or 32 bits) and a dispatch
instruction is executed simultaneously, the dispatch target address is calculated upon the P value before the
read.
24.5.9.6.11
CHAN Assignment, PSC/PSCS, and clear MRLEA/B, MRLA/B, TDLA/B
When clear MRLEs, MRLA/B or TDLs is done and a CHAN assignment is done at the same time, the flag
selected by the old CHAN value is cleared in the channel, but the branch conditions receive the state of
the flags selected by the new CHAN.
When a pin action is commanded through PCS/PSCS and a CHAN assignment is done simultaneously, the
output signal affected is selected with the old CHAN 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...