Enhanced Time Processing Unit (eTPU2)
Freescale Semiconductor
29-5
PXR40 Microcontroller Reference Manual, Rev. 1
configuration registers. The eTPU is able to export/import time to/from TCR1 or TCR2 in accordance to
the Red Line bus specification.
The clock for each of TCR1 and TCR2 clock can be independently derived from the eTPU clock or from
an external input via the TCRCLK clock pin. In addition, the TCR2 timebase can be derived from special
angle-clock hardware which enables implementing angle-based functions. This feature is added to support
advanced angle based engine control applications.
29.1.1.1.2
eTPU Timer Channels
Each eTPU Engine has 32 independent channels, each corresponding to an Input/Output signal pair. The
channels time resolution is 24 bits, and are all identical.
Each channel consists of logic which supports two events and output controls. The event logic contains
two 24-bit capture registers, two 24-bit match registers, greater-equal and equal-only comparators.
Supporting two events enables many combinations of double-action functions (for example the channel
can handle two events with a single microcode service).
The channel configuration can be changed by the microengine on the fly. Each channel can perform double
capture, double match and other capture-match combinations. Channel modes available can do ordered or
unordered match. Some modes are also provided that can block one match by the occurrence of the other.
Service request can be generated on one or both of the match events.
Input signal can be separated from output signal in each channel. They can, optionally, be combined in a
single I/O pin driver. An output buffer enable signal, controlled by microcode, is provided for this case.
Digital filters are provided for the input signals, with distinct filtering modes available.
Each channel can use any time base or angle counter for either match or capture operation. For example,
a match on TCR1 can capture the value of TCR2. The channels can request service from the microengine
due to recognized pin transitions (input events) or timebase matches.
The eTPU channels also support the basic single-action operations found on TPU3 functionality with the
exception that time resolution is 24-bits.
Channel configuration combinations:
•
Single input capture, no match (TPU3 functionality).
•
Single input capture with single match timeout (TPU3 functionality).
•
Single input capture with double match timeout with several double match sub-modes.
•
Double input capture with single or double match timeout with several double match sub-modes.
•
Single output match (TPU3 functionality).
•
Double output match with several double match sub-modes.
•
Input-dependent output generation.
The double match functionality has various combinations for generation of service request and
determining pin actions. For more details refer to the
eTPU Reference Manual
.
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...