
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
826
Freescale Semiconductor
24.5.2.3.3
Parameter concurrency
Host accesses to parameters may occur in parallel with eTPU Microengine accesses. Readings taken from
a group of parameters while they are being simultaneously updated may lack coherency. eTPU provides
mechanisms to ensure parameter coherency in accesses from both Host side and Microengine side,
including the use of a coherent dual-parameter transfer mechanism, described in detail on
Parameter sharing and coherency
.
24.5.2.3.4
Parameter sign extension area
The SPRAM address space to the Host is mirrored in a Parameter Sign Extension (PSE) area (see
). Accesses from the Host to the PSE area differ from accesses to the standard
SPRAM address space as follows:
•
Writes
: the most significant byte of the parameters is not written, and the SPRAM retains the old
byte value, regardless of the Host access size.
•
Reads
: the most significant bit of the 24-bit parameter (that is, the msbit of the second most
significant 32-bit parameter byte) is repeated in the 8 most significant bits of the read value on all
32-bit reads and most significant 16- and 8-bit reads.
The same parameters written in the standard SPRAM address space are read from the PSE area with the
same offsets, and vice-versa. See
for a reference of the address offsets in big and little endian
machines.
This feature reliefs the Host from extending the signal of 24-bit eTPU parameters before calculations, and
from read-modify-write accesses to modify 24-bit parameters at the SPRAM.
24.5.2.4
SPRAM organization
The SPRAM internal partition for channel allocation is dynamic and programmed in the Channel Registers
(see
Section 24.4.7.1, ETPU_CxCR – eTPU Channel x Configuration Register
).
The Host application is responsible for allocating a different parameter base address to each channel during
the initial eTPU configuration, and to allocate enough parameters for the selected function, with no
unintentional overlapping between parameters of different functions.
Besides channel parameters, global areas may have to be allocated for parameters that are shared by more
than one channel, in one or both engines. Also, temporary parameter areas should be reserved to be used
by the coherent parameter transfer mechanisms described in
Содержание 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...