Decimation Filter
28-34
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
28.3.12.3 Integrator Interrupt and DMA Requests
An interrupt or DMA request can be asserted when an integrator output is ready to be read or an overflow
or error condition occurs in either the integrator sum or count values. Integrator interrupt requests are
enabled by the DECFILT_x_MCR[SDIE] bit, and flagged in the DECFILT_x_MXSR[SDF] bit. Integrator
DMA requests are enabled by the DECFILT_x_MXCR[SDMAE] bit.
28.3.13 Integrator
The decimation filter output result may be optionally routed to a dedicated hardware integrator. The
integrator may be operated in a windowed mode, controlled by signals routed internally from eTPU2
channels, or operated in a continuous mode. Additionally, the integrator output may be configured to
saturate at the maximum value of the supported range, or permitted to continue integration.
shows the high level data flows and controls for the integrator. The RFIFO and Output Buffer data paths
are shown in this figure to highlight that they are independent of the integrator. Note however that the
Output Buffer shares a DMA and Interrupt request with the Integrator output value, FINTVAL
(DECFILTER_FINTVAL).
Figure 28-17. Integrator Data and Control
28.3.13.1 Integrator Inputs
The integrator input can come either directly from the filter output or from the decimator output, selected
by the DECFILTER_MXCR[SISEL] (see
Section 28.2.2.3, Decimation Filter Module Extended
Configuration Register (DECFILT_x_MXCR)
“). Prior to integration a hardware option, controlled by
DECFILTER_MXCR[SSIG], is provided to convert the input to its absolute value.
NOTE
The integrator accumulates input samples when bypass is selected in the
filter.
FINTCNT
FINTVAL
CINTCNT
CINTVAL
Output Buffer
Decimator
Filter
Output
Start
eTPU2
Channel
Reset
eTPU2
Channel
Pause
Integrator & Sample Counter
Integrator & Sample Counter
Se
le
c
t
Se
le
c
t
RFIFO
DMA or
Interrupt
DMA or
Interrupt
Sample
Count
Integration
Value
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...