Enhanced Time Processing Unit (eTPU2)
29-50
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
29.3.2.2.2
Interrupt and Data Transfer Request Overflow
If a Channel Interrupt was issued, its status bit is still set, and microcode issues another Channel Interrupt,
the Interrupt Overflow status bit is set for that channel. Interrupt Overflow status can be checked by the
Host in Channel Status register ETPUCxSCR bit CIOS (
Section 29.2.10.2, ETPUCxSCR - eTPU Channel
), mirrored in register ETPUCIOSR (
Section 29.2.9.3, ETPUCIOSR - eTPU
Channel Interrupt Overflow Status Register
). Interrupt Overflow status is not cleared automatically when
Interrupt Status is cleared. The same mechanism and respective registers (ETPUCDTROSR) are available
for Data Transfer Requests.
If interrupt is set and cleared at the same time, set prevails and overflow is not altered (keeps the same state
as it was before, asserted or not).
Global Exception has no overflow status.
29.3.2.3
Parameter Access
29.3.2.3.1
Parameter Access Widths
From the Host side the SDM address space is mapped in bytes, and each 32-bit parameter occupies 4
contiguous, aligned bytes. The Host can read/write the SDM by 8-, 16-, or 32-bit accesses in aligned
addresses.
In 32-bit access, Host can access all 32 bits or only the lower 24 bits with an automatic sign extension (see
Section 29.3.2.3.4, Parameter Sign Extension Area
29.3.2.3.2
Parameter Addresses and Endianness
To access parameter number
xxx
, eTPU Microengine(s) would select address xxx. The Host would add
(xxx*4)
to the SDM base address to access the same parameter. For example, parameter 0x101 is seen by
the Host in
(SDM base a0x404)
. An example of SDM memory map is shown in
Host can access the SDM with a 32-bit-wide bus cycle to a four-byte aligned address, 16-bit-wide bus
cycle to a two-byte aligned address, or 8-bit wide bus cycle to any byte address.
The address of the 24-bit parameters and the most significant byte depends on the endianness of the MCU.
29.3.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
.
29.3.2.3.4
Parameter Sign Extension Area
The SDM 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
SDM address space as follows:
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...