Decimation Filter
28-42
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
•
Take the Head to freeze or low-power first, wait for DECFILTER_x_MSR bit BSY=0, and repeat
the procedure for the other blocks in the chain in sequence, towards the Tail block.
Take the blocks out of freeze or low-power modes in the inverse sequence, from Tail to Head.
28.3.15 Enhanced Debug Monitor Description
This feature is enabled by the EDME bit in the configuration register DECFILTER_x_MCR. The
monitoring operation is applicable only to an eQADC input data source, and applies when filters are
cascaded. The Enhanced Debug Monitor feature makes the input sample data also available in the
DECFILTER_x_EDID register. A DMA or interrupt request (selected by DECFILT_x_MCR[DSEL])
indicates a new input was fed and DECFILTER_x_EDID was updated. The input is processed normally
by the filter.
An Enhanced Debug Input Data Register (DECFILTER_x_EDID) overrun can occur if a sample is not
read by the CPU or DMA before overwritten by a new sample. The overrun is indicated in a separate flag
DIVR in the status register DECFILTER_x_MSR. If the ERREN bit is set in the DECFILTER_x_MCR
configuration register, this overrun asserts the an interrupt request.
28.4
Application Information
The following sections describe common use cases and configurations of the decimation filter block.
28.4.1
eQADC Configuration for Decimation Filter Operation
28.4.1.1
eQADC Configuration / Decimation Filter Input
In normal mode of operation of the Decimation Filter, filter data inputs are supplied by an eQADC block
and the filter output is returned to the specified RFIFO in the eQADC. In standard eQADC operation,
conversion results are routed directly from the converter to one of the local eQADC RFIFO buffers.
However, by using alternate conversion command word configurations in the eQADC, conversion results
can be routed to the Decimation Filter block. Additionally, the same eQADC conversion results can be
routed to a second Decimation Filter block specified by an Extended Alternate Configuration register. The
eQADC can send either conversion data or timestamp data. The conversion data is filtered by the
decimation filter and the timestamp is bypassed and delayed until ready to be sent back to the eQADC
when the relevant conversion data is filtered and available.
In the eQADC, the ALT_CONFIG_SEL[0:7] field of the Conversion Command Word (CCW) specifies
whether an alternate configuration is used for the ADC conversion. The values for this field are given in
. The eQADC can store up to eight alternate configurations, which can be dynamically selected
during the ADC conversion with the CCW. When the ALT_CONFIG_SEL field is set to 0x00, no alternate
configuration is used, and the ADC conversion is processed according to the CCW.
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...