Enhanced Time Processing Unit (eTPU2)
29-70
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
filter that provides best latency while maintaining proper noise filtering (see
ETPUTBCR - eTPU Time Base Configuration Register
field TCRCF[0:1] — TCRCLK Signal Filter
The TCR2 bus runs through all the local engine channels
The TCR2 value is readable to the host through the ETPUTB2R register (refer to
ETPUTB2R - eTPU Time Base 2 (TCR2) Visibility Register
). When the TCR2 bus value is imported from
the STAC bus (STAC client mode), TCR2 is not writable by the microcode, and read access from the
microcode or from the host reflect the imported TCR2 value.
29.3.5.2.1
TCR2 Clock Prescaling
Except in Angle Mode, any clock source selected by TCR2CTL is prescaled by a factor of 1 to 64, selected
by ETPUTBCR field TCR2P. For more information on prescaler configuration refer to
ETPUTBCR - eTPU Time Base Configuration Register
. The TCR2 Prescaler resets when etpu_gtbe_in is
negated. After reset, it starts counting up to TCR2P when etpu_gtbe_in is asserted. When TCR2
increments (etpu_gtbe_in=1), the prescaler starts a new count and the new TCR2P becomes effective.
The counter that divides the eTPU clock by 8 before the prescaler also resets when etpu_gtbe_in is
negated, or when TCR2 is written by microcode.
29.3.5.2.2
TCR2 Gated Mode
TCR2 Gated mode is selected in field TCR2CTL of register ETPUTBCR. In this mode the TCRCLK
signal enables or disables transfer of the eTPU clock divided by 8 to the TCR2 prescaler. By programming
the prescaler, TCR2 can run at rates from eTPU clock divided by eight down to eTPU clock divided by
512, in steps of eight eTPU clock divisions. For more information refer to
- eTPU Time Base Configuration Register
29.3.5.2.3
TCR2 Signal Transition Modes
These modes are selected when the TCR2CTL field in ETPUTBCR is set to rise, fall or “rise-and-fall”. In
these modes the TCRCLK signal is the TCR2 clock source, and its maximum transition rate depends on
the TCRCLK digital filter mode of operation. The TCRCLK digital filter can be programmed to use the
eTPU clock divided by two, or use the same filter clock of the channels, controlled by the TCRCF field in
ETPUTBCR. It contains an up-down counter which operates as a digital integrator, optimizing signal
latency in the selected mode and clock rate.
When eTPU clock divided by two is selected, the synchronizer and the digital filter are guaranteed to pass
pulses that are wider than four eTPU clocks (two filter clocks). Otherwise the TCRCLK is filtered with
the same filter clock as the channel input signals. For details on TCRCLK and channels digital filter
control refer to
Section 29.2.6.1, ETPUTBCR - eTPU Time Base Configuration Register
and
Section 29.3.4.4, Enhanced Digital Filter - EDF
29.3.5.2.4
STAC Bus Client Mode
In this mode the TCR2 register is continuously updated from the STAC bus, and the clock selection and
prescaling logic becomes ineffective. It is not write accessible for the microcode, and when read, it reflects
Содержание PXR4030
Страница 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Страница 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Страница 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Страница 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Страница 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 158: ...Power Management Controller PMC 5 26 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 182: ...Frequency Modulated Phase Locked Loop FMPLL 6 24 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 278: ...System Integration Unit SIU 7 96 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 280: ...System Information Module PXR40 Microcontroller Reference Manual Rev 1 8 2 Freescale Semiconductor...
Страница 300: ...Boot Assist Module BAM 9 20 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 346: ...Interrupts and Interrupt Controller INTC 10 46 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 352: ...General Purpose Static RAM SRAM 11 6 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 432: ...Core e200z7 Overview PXR40 Microcontroller Reference Manual Rev 1 13 44 Freescale Semiconductor...
Страница 460: ...Peripheral Bridge PBRIDGE 15 16 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 478: ...Memory Protection Unit MPU 16 18 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 496: ...Error Correction Status Module ECSM 17 18 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 524: ...Periodic Interrupt Timer PIT_RTI 20 12 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 740: ...FlexRay Communication Controller FLEXRAY 22 156 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 928: ...Deserial Serial Peripheral Interface DSPI 25 68 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 982: ...Enhanced Serial Communication Interface eSCI 26 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1114: ...Enhanced Queued Analog to Digital Converter EQADC 27 132 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Страница 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1262: ...Enhanced Time Processing Unit eTPU2 29 94 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Страница 1399: ...Nexus Development Interface NDI Freescale Semiconductor 31 83 PXR40 Microcontroller Reference Manual Rev 1...
Страница 1400: ...Nexus Development Interface NDI 31 84 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...