
Decimation Filter
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
1215
in the status register DECFILTER_MSR. If the ERREN bit is set in the DECFILTER_MCR configuration
register, this overrun asserts the module interrupt request.
26.5.15 Integrator
The hardware sample integrator accumulates the filter output values for determined periods.
26.5.15.1 Integrator inputs
T
he integrator can be fed either by raw or decimated filter outputs, selected by the DECFILTER_MXCR
Section 26.4.2.3, Decimation Filter Module Extended Configuration Register
“). The accumulated input value taken can be the filtered sample “as is” (signaled),
or its absolute value, depending on the DECFILTER_MXCR bit SSIG.
NOTE
The integrator accumulates input samples when bypass is selected.
26.5.15.2 Integrator outputs
T
he integrator output is either:
•
the 32-bit, fixed point unsigned accumulation of the absolute values from the filter output, when
the integrator is configured for absolute operation (DECFILTER_MXCR bit SSIG = 0). This
resolution allows a minimum of 131071 samples to be integrated before an overflow occurs in
absolute operation, or 65536 samples in signed operation.
•
the 32-bit, fixed point signed two’s complement accumulation of the signed values from the filter
output, when the integrator is configured for signed operation (SSIG = 1).
The fractional part of the accumulation is 15 bits wide in both cases.
An accumulation overflow is flagged by the DECFILTER_MXSR bit SSOVF. The accumulator can
overflow in either of the ways below, selected through the DECFILTER_MXCR bit SSAT:
•
saturated accumulation (SSAT = 1), so that an overflow results in the value of 0xFFFFFFFF for
absolute value accumulation (SSIG = 0), or 0x7FFFFFFF (positive) and 0x80000000 (negative)
for signaled accumulation (SSIG = 1).
•
non-saturated accumulation (SSAT = 0), so that an overflow results in the modulo 2
17
accumulation value. This operation is only allowed in absolute accumulation (SSIG = 0).
The integrator output value becomes available in register DECFILTER_FINTVAL (see
Decimation Filter Final Integration Value Register (DECFILTER_FINTVAL)
“) when an integrator output
request is issued. The integrator output request can be issued in the following ways:
•
by hardware, controlled by an external signal; the enabling and the selection of the signal request
modes is done through the DECFILTER_MXCR field SRQSEL (see
Filter Module Extended Configuration Register (DECFILTER_MXCR)
•
by software, writing 1 to the DECFILTER_MXCR bit SRQ;
The SSOVF flag is asserted upon an integrator output request, based on the overflow state of the internal
accumulator. This internal overflow state is cleared upon an output request, just after SSOVF is asserted,
or upon an integrator reset (see
Section 26.5.15.3, Integrator reset
”). The internal overflow state is also
Содержание 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...