EasyManua.ls Logo

NXP Semiconductors MPC5566 - Page 785

NXP Semiconductors MPC5566
1268 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Enhanced Time Processing Unit (eTPU)
MPC5566 Microcontroller Reference Manual, Rev. 2
18-28 Freescale Semiconductor
Table 18-11. ETPU_TBCR Field Descriptions
Field Description
0–2
TCR2CTL
TCR2 clock and gate control are part of the TCR2 clocking system. These bits determine the clock source
for TCR2 before the prescaler. TCR2 can count on any detected edge of the TCRCLK signal or use it for
gating the system clock divided by 8. After reset, the TCRCLK signal rising edge is selected. TCR2 can also
be clocked by the system clock divided by 8. TCR2CTL also determines the TCRCLK edge selected for angle
tooth detection in angle mode. Refer to the eTPU Reference Manual for more information. TCR2 clock
sources are listed in the following table.
3–4
TCRCF
TCRCLK signal filter control. Controls the TCRCLK digital filter determining whether the TCRCLK signal
input (after a synchronizer) is filtered with the same filter clock as the channel input signals or uses the
system clock divided by 2, and also whether the TCRCLK digital filter works in integrator mode or two sample
mode. The following table describes TCRCLK filter clock/mode.
For more information, refer to the eTPU Reference Manual.
5 Reserved
TCR2CTL
AM = 0
(TCR2 Clock)
AM = 1
(Angle Tooth Detection)
000
Gated DIV8 clock (system clock / 8). 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 system clock divided by 8.
Do not use with angle mode (AM = 1).
001
Rise transition on TCRCLK signal
increments TCR2 prescaler.
Rising edge
010
Fall transition on TCRCLK signal
increments TCR2 prescaler.
Falling edge
011
Rise or fall transition on TCRCLK signal
increments TCR2 prescaler.
Rising or falling edge
100 DIV8 clock (system clock / 8). Do not use with angle mode (AM = 1).
101 Peripheral timebase clock source. Do not use with angle mode (AM = 1).
110 Do not use with angle mode (AM = 0). No edge
111
TCR2CTL shuts down TCR2 clocking,
except as a STAC client.
Do not use with angle mode (AM = 1).
TCRCF Filter Input Filter Mode
00 System clock divided by 2 Two sample
01 Filter clock of the channels Two sample
10 System clock divided by 2 Integration
11 Filter clock of the channels Integration

Table of Contents

Related product manuals