
Decimation Filter
MPC5644A Microcontroller Reference Manual, Rev. 6
1212
Freescale Semiconductor
26.5.11 Interrupts requests description
26.5.11.1 Block interrupt request
There are several interrupt request events that can be enabled using the module configuration register
DECFILTER_MCR. Basically, the interrupt request can be issued under any of the following conditions:
•
when a word of input data is received
•
when a word of output data is available
•
when an error has occurred.
The input data flag IDF is set when a word of data is received from the CPU when in standalone mode, or
when a word of data is received in the PSI when it is not in standalone mode (normal mode). It is not used
to generate the read or write requests (as defined in
Section 26.5.11.2, Input buffer interrupt request
DSEL = 0.
Output data is available and its flag (ODF) is set when the input data sample is processed by the filter and
the decimation counter matches the decimation rate value. It is not used to generate the read requests (as
defined in
Section 26.5.11.3, Output buffer interrupt request
) when DSEL = 0.
An error event in the decimation filter block is defined as one of these events:
•
Overflow in the filter, flagged by OVF
•
Overrun in the decimation filter input, flagged by IVR
•
Overrun in the decimation filter output, flagged by OVR
•
Overrun in enhanced debug monitor, flagged by DIVR
•
Integrator overrun, flagged by SVR
•
Integrator value exception, flagged by SSE
•
Integrator count exception, flagged by SCE
An overflow occurs when the two’s-complement result value from the MAC accumulator is out of the
range of values that can be stored in tap register 4 (IIR) or in the output register.
An input overrun occurs when the input buffer is holding a word of input data and one more word of data
is received by the filter. See
Section 26.5.3.1, Input buffer overrun
An output overrun occurs when a new word of data is sent to the output buffer but the previous word of
data has not been handled yet. See
Section 26.5.4.1, Output buffer overrun
, for more details.
These flags can be set by the PSI events, however they are only cleared by
•
the CPU, or
•
by the soft reset command in the DECFILTER_MCR, or
•
by the clear flag fields in the DECFILTER_MSR
.
26.5.11.2
Input buffer interrupt request
This interrupt is enabled by the register IBIE in the DECFILTER_MCR and is asserted only when DSEL
= 0. This request is flagged in the DECFILTER_MSR by field IBIF.
In standalone and PSI output mixed modes, the input buffer interrupt request is asserted when the input
buffer is available to receive a conversion sample and DMA operation is not selected (DSEL = 0), meaning
Содержание 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...