![Freescale Semiconductor PXR4030 Скачать руководство пользователя страница 1140](http://html1.mh-extra.com/html/freescale-semiconductor/pxr4030/pxr4030_reference-manual_23306601140.webp)
Decimation Filter
28-26
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
When the filter is bypassed (DECFILT_x_MCR[FTYPE] = 0b00) or in disable mode, the data from the
input buffer is transferred to the output buffer, if it is not already full. If the output buffer is full, the input
buffer is loaded, and another word of input data is sent, then an input overrun occurs.
28.3.2
Decimation Filter Output
NOTE
Decimation Filter H is not writeable or readable from the eQADC, only by
DMA or the CPU. All other decimation filters have no limitations.
The Decimation Filter can send filtered results directly to an eQADC, or to the CPU using the memory
mapped DECFILT_x_OB output buffer register. The output destination for the filter result is determined
by the DECFILT_x_MCR[IO_SEL] field. The filter result is written to the output buffer register when the
decimation count is reached (either an eQADC or CPU destination). The DECFILT_x_MSR[ODF] flag
bit is set when the output buffer is updated. When an eQADC is selected for the result destination, the
result is automatically transferred to an eQADC RFIFO when the output buffer is updated.
The output buffer is not updated when the Decimation Filter is in prefill mode, so the
DECFILT_x_MSR[ODF] flag is not set in that case.
An interrupt or DMA request can be generated when the output buffer is updated, and the output result
destination is the CPU or DMA. A DMA request is generated when the DECFILT_x_MCR[DSEL] = 1,
and the output buffer is updated. If DMA is not enabled, an interrupt is generated by setting the
DECFILT_x_MCR[OBIE] = 1. If both an interrupt and DMA request are enabled, the DMA takes
precedence.
When the filter is bypassed (DECFILT_x_MCR[FTYPE]=0b00), and the eQADC is selected as the output
destination, the data written into the input buffer is delayed until the output buffer is empty and then written
to the output buffer. When the filter is bypassed and the memory mapped register is selected as the output
destination, the data written into the input buffer is immediately written into the output buffer, and the
DECFILT_x_MSR[ODF] flag is set.
A Soft Reset (DECFILT_x_MSR[SRES]) clears the output buffer, and terminates output data transfer to
the output buffer.
28.3.2.1
Output Buffer Overrun
An output overrun occurs when the output buffer (DECFILT_x_OB) is holding output data (sample or
timestamp) that has not been read and it is overwritten with subsequent data (sample or timestamp). Output
overruns are flagged by the DECFILT_x_MSR[OVR] bit. An output buffer overrun interrupt is enabled
by the DECFILT_x_MCR[ERREN] bit. The output buffer empty condition depends on the mode and
output selection as follows:
•
When the output result destination is an eQADC, the output buffer is considered empty when the
filter output transfer to an eQADC RFIFO is complete.
•
When the output result destination is the CPU/DMA, the output buffer is considered empty after
the buffer has been read and the DECFILT_x_MSR[ODF] flag is cleared.
Prefill inputs do not cause IIR or FIR output overrun for either output destination selection.
Содержание 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...