Enhanced Time Processing Unit (eTPU2)
Freescale Semiconductor
29-29
PXR40 Microcontroller Reference Manual, Rev. 1
This field controls the TCRCLK digital filter (see
Section 29.3.5.5, TCRCLK Digital Filter
determining whether the TCRCLK signal input (after a synchronizer) is filtered with the same filter
clock as the channel input signals (see
Section 29.3.4.4, Enhanced Digital Filter - EDF
eTPU clock divided by 2, and also whether the TCRCLK digital filter works in integrator mode or two
sample mode (see
AM — Angle Mode Selection
This field enables the Enhanced Angle Counter logic to generate angle information (see
eTPU
Reference Manual
for details), and also select the tooth signal input and the channel used to process it,
. When EAC is not disabled by AM and neither TCR1 nor TCR2 are STAC
Clients, the EAC (eTPU Angle Clock) hardware provides angle information to the channels using the
TCR2 bus. When AM is reset (non-angle mode), the EAC operation is disabled, and its internal
registers can be used as general purpose. For more information, see
eTPU Reference Manual
.
If TCR1 or TCR2 is a STAC
Bus Client (see
Section 29.3.5.3, STAC Interface
), the EAC operation is
not allowed, and if AM is set the Angle Logic does not work properly.
NOTE
Changing AM may cause spurious transition detections on the channel
selected by AM, depending on the channel mode and state (see
eTPU
Reference Manual
for details). If AM must be changed with GTBE=1, the
recommended procedure is described in the
eTPU Reference Manual
.
TCR2P[0:5] — Timer Count Register 2 Prescaler Control
These bits are part of the TCR2 clocking system (see
). TCR2 is clocked
from the output of a prescaler. The prescaler divides its input by (TCR2P+1) allowing frequency
divisions from 1 to 64. The prescaler input is the eTPU clock divided by 8 (in gated or non-gated clock
mode), or Internal Timebase input, or TCRCLK filtered input. This field has no effect on TCR2 in
Angle Mode.
TCR1CTL[0:1] — TCR1 Clock/Gate Control
Table 29-9. TCRCLK Filter Clock/Mode
TCRCF
Filter Clock
Filter Mode
00
eTPU clock divided by 2
two sample
01
filter clock of the channels
two sample
10
eTPU clock divided by 2
integrator
11
filter clock of the channels
integrator
Table 29-10. AM - Angle Mode Selection
Valu
e
TCR2 Value
Tooth signal
Tooth processing
channel
0 0
Timebase (EAC operation disabled)
not applicable
0 1
Angle Ticks
TCRCLK input
0
1 0
channel 1 input
1
1 1
channel 2 input
2
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...