Enhanced Time Processing Unit (eTPU2)
29-28
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
29.2.6.1
ETPUTBCR - eTPU Time Base Configuration Register
This register configures several timebase options.
Figure 29-8. ETPUTBCR Register
TCR2CTL[0:2] — TCR2 Clock/Gate Control
These bits are part of the TCR2 clocking system (see
clock source for TCR2 before the prescaler. TCR2 can count on any detected edge of the TCRCLK
signal or use it for gating eTPU clock divided by 8. After reset - TCRCLK signal rising edge is
selected. TCR2 can also be clocked by the eTPU clock divided by 8. TCR2CTL also determines the
TCRCLK edge selected for angle tooth detection in angle mode. See
.
TCRCF[0:1] — TCRCLK Signal Filter Control
eTPU A: Base + 0x020 / eTPU B: Base + 0x040
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
TCR2CTL
TCRCF
AM
0
0
0
TCR2P
W
RESET:
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
TCR1CTL
TCR1
CS
0
0
0
0
0
TCR1P
W
RESET:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Table 29-8. TCR2 Clock Source
TCR2CTL
AM = 0
TCR2 Clock before prescaler
AM = 1
Angle Tooth
detection
000
Gated DIV8 clock (eTPU clock / 8). In this case, when the external TCRCLK signal
is low, the DIV8 clock is blocked, preventing it from incrementing the TCR2
prescaler. When the external TCRCLK signal is high, TCR2 prescaler is
incremented at the frequency of the eTPU clock divided by 8.
do not use
with AM=1
001
Rise transition on TCRCLK signal increments the TCR2 prescaler.
rise edge
010
Fall transition on TCRCLK signal increments the TCR2 prescaler.
fall edge
011
Rise or Fall transition on TCRCLK signal increments the TCR2 prescaler.
both edges
100
DIV8 clock (eTPU clock / 8)
do not use
with AM=1
101
do not use with AM=0
110
no edge
1
1
TCRCLK edges are not detected by the EAC logic, but they can still be detected by the channel 0 logic if
AM=01.
111
TCR2 frozen, except as STAC client
do not use
with AM=1
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...