
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
884
Freescale Semiconductor
first filter clock period in which the signal is continuously stable. This may add to the latency and also to
the minimum detected signal pulse in a noisy environment.
24.5.5.6.4
Bypass Mode
In bypass mode the signal that feeds the edge detection comes directly from the output of the synchronizer,
not filtered. Bypass mode automatically makes the channel logic work in T2/T4 timing mode (see
Section 24.5.5.7, Channel Timing Modes
).
24.5.5.6.5
Filter Clock Prescaler
The TCRCLK signal and each channel configured as an input have an associated synchronizer followed
by a digital filter connected to the signal that samples signal transitions. After reset, the digital filter filters
out high and low pulse widths smaller than the period of two system clocks with ETPU_ECR bit FCSS = 0,
or 1 system clock with FCSS = 1, preventing these transitions from being input to the transition detect
logic. For FPSCK = 0 and FCSS = 0, the synchronizer and digital filter are guaranteed to pass pulses that
are as wide as or wider than four system clocks, meaning a minimum period of eight system clocks. These
figures are halved by setting FCSS = 1. By changing the FPSCK field in register ETPU_ECR the user can
select a lower clock rate for the filter signal to define wider valid pulses and filter out wider noise pulses.
The filter prescaler clock control is a division of the system clock. To guarantee pulse detection by the
digital filter, the pulse must cover at least the stated number of samples at the filter clock rate. For example,
a two sample digital filter must sample two points in the pulse to detect it.
shows the minimum
guaranteed detected pulse width and the maximum filtered noise pulse width. The table refers only to the
digital filter operation. The external pulses may have to be wider (to ensure detection) or narrower (to
ensure filtering) depending on the rise/fall delay differences in the MCU receivers and internal logic.
Delays introduced by synchronizer, filter and edge detection logic are explained in
Table 24-58. Pulse Widths and Delays
Filter Control
(FPSCK)
Sample on
system clock
divided by:
Min. Width Guaranteed Detected / Max. Width filtered
(Min. Filter Delay / Max. Filter Delay)
1
1
This table shows pulse widths and delays in number of periods of the system clock.
FCSS = 0
FCSS = 1
Two-Sample or Continuous
Mode
Three-Sample or Integrator
2
Mode
not avail.
000
1
2 / 1 (2 / 3)
3 / 2 (3 / 4)
000
001
2
4 / 2 (3 / 3)
6 / 4 (5 / 5)
001
010
4
8 / 4 (5 / 7)
12 / 8 (9 / 11)
010
011
8
16 / 8 (9 / 15)
24 / 16 (17 / 23)
011
100
16
32 / 16 (17 / 31)
48 / 32 (33 / 47)
100
101
32
64 / 32 (33 / 63)
96 / 64 (65 / 95)
101
110
64
128 / 64 (65 / 127)
192 / 128 (129 / 191)
110
111
128
256 / 128 (129 / 255)
384 / 256 (257 / 383)
111
not avail.
256
512 / 256 (257 / 511)
768 / 512 (513 / 767)
Summary of Contents for MPC5644A
Page 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Page 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Page 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Page 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Page 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Page 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Page 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...