Decimation Filter
Freescale Semiconductor
28-45
PXR40 Microcontroller Reference Manual, Rev. 1
The RFIFO number that receives the filtered data from the Decimation Filter block, or directly from the
ADC, is specified in the MESSAGE_TAG[8:11] field in the eQADC CCW (see “Conversion Command
Format for the Standard Configuration section of the reference manual).
28.5
Use Cases
The following use cases provide examples of how to configure the decimation filter for different modes.
One use case describes the mode that filters the conversion results that directly transferred from the ADC.
In this case, the appropriate software initialization of the ADC configuration register is described to enable
the transfer of an ADC result to the Decimation Filter module without CPU intervention. The second use
cases describes the stand-alone mode, where data previously stored in a memory table is transferred into
the filter and subsequent filtered data extracted using CPU interaction. For all uses cases, the Decimation
Filter is configured as an IIR filter, with example filter characteristics. An explanation of the IIR
configuration and coefficient selection is give in the next section.
28.5.1
IIR Filter Configuration
This section describes the topology of the IIR filter that is implemented in the Decimation Filter hardware
and provides a definition of the coefficients for an elliptical low pass, 4th order IIR filter.
shows the filter functional diagram, consisting of 4 feed-forward stages and 4 feedback stages, to provide
a maximum of a 4th order IIR filter.
RESSEL[0:1]
ADC Resolution Selection.
00 ADC set to 12-bits resolution
01 ADC set to 10-bits resolution
10 ADC set to 8-bits resolution
11 Reserved
PRE_GAIN[0:1]
ADC Pre-gain control—The PRE_GAIN[0:1] controls the gain of the ADC input stage by changing the
internal ADC iterations in the gain stage.
00 X1 gain
01 X2 gain
10 X4 gain
11 Reserved
Table 28-18. ADC_ACR1-8 Field Descriptions (continued)
Field
Description
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...