
Decimation Filter
MPC5644A Microcontroller Reference Manual, Rev. 6
1202
Freescale Semiconductor
26.5
Functional description
26.5.1
Overview
shows the block diagram of the Decimation Filter. The Control Logic provides the control
signals for all other sub-modules. The PSI data interface is subdivided into two sub-modules, transmitter
and receiver, that are accessed by the PSI slave-bus interface. The bypass path is used when the filter is
disabled and the incoming data can be transmitted back to the master block without being processed by the
Filter algorithm. The Filter hardware is implemented in such a way that an IIR (1 x 4 poles) or FIR filter
type can be implemented. The selection between the two types of filter algorithms is implemented by the
Control Logic sub-block.
The Coefficient register file provides the digital filter coefficients. This block is a register bank with
read/write access by the device slave-bus interface. The Filter TAP registers are also accessed through the
device slave-bus line interface, providing additional debug capabilities to the Decimation Filter block. The
MAC (Multiply Accumulate) sub-block executes the filter arithmetic operations controlled by the Control
Logic. The MAC results are routed to the Filter TAP registers and to the output buffer when the result is a
decimated filter sample.
26.5.2
Parallel Side Interface (PSI) description
This section describes the operation of the Parallel Side Interface (PSI) sub-block which is responsible for
communication and data exchange between the master block (for instance, the eQADC block) and the
Decimation Filter block.
The decimation filter receives sample data from the master block. The input data bus format is presented
in
. The sample data arrives along with the control bits. These control bits are decoded and
the proper action is decided in the Control Logic sub-block. When the decimation filter finishes its
processing and a result is available, the read request signal is issued to the master block. This data transfer
request remains set until the result is read by the master block.
When using two or more decimation filter blocks in the device, the output of the second block is connected
to the input data of the next block, and the output of the first block is connected to the read data input of
the PSI master block.
26.5.3
Input buffer description
The decimation filter receives data samples for filtering from a master block (e.g., eQADC) using the PSI
interface, or from the CPU using the device slave-bus interface. The data source is selected by the ISEL
bit of the module configuration register DECFILTER_MCR.
When the device slave-bus interface is selected and DMA operation is chosen (DECFILTER_MCR bit
DSEL = 1), the input data request signal is asserted when the input buffer is empty. When DMA operation
is not chosen (DSEL = 0) in standalone or PSI output mixed modes, the logic asserts an input interrupt
request and the input buffer waits for data from the device slave-bus.
Input buffer filling is flagged by the DECFILTER_MSR bit IDF. The IDF flag remains set, even after the
input data has been consumed and the buffer is free, until it is cleared by software.
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...