
Decimation Filter
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
1217
Section 26.4.2.3, Decimation Filter Module Extended Configuration Register
(DECFILTER_MXCR)
”);
•
by software: on software reset, or writing 1 to the DECFILTER_MXCR bit SZRO;
The integrator reset also zeroes the internal counter of accumulated samples and the internal overflow state
(but not SSOVF and SCOVF). Software and hardware reset resets all integrator registers immediately.
Integrator zero command from external signal or by software (SZRO) affects the integrator registers and
flags as follows:
•
DECFILTER_CINTVAL resets immediately;
•
DECFILTER_CINTCNT does not reset immediately; it is updated only upon a
DECFILTER_CINTVAL read, loaded with the number of integrated samples occurred after the
reset;
•
DECFILTER_FINTVAL and DECFILTER_FINTCNT do not reset immediately; being updated
only upon a new output request (see
Section 26.5.15.2, Integrator outputs
”); if a integrator software
zero command (through SZRO bit) and an integrator output request (through SRQ bit) are made at
the same time, the registers DECFILTER_FINTVAL and DECFILTER_FINTCNT are updated
with the last internal values before reset; the same applies to simultaneous integrator zero
command and output request by hardware signal;
•
the SSOVF and SCOVF flags do not negate; however, the internal overflow states which assert
SSOVF and SCOVF do reset immediately, so that the next output update (either by hardware
request, software request or DECFILTER_CINTVAL read) before an overflow does not assert
SSOVF/SCOVF.
NOTE
The integrator reset does not depend on the integrator enabling (see
Section 26.5.15.4, Integrator enabling and halting
“).
26.5.15.4 Integrator enabling and halting
Two mechanisms, enabling and halting, drive the integrator accumulation, allowing it to be controlled by
a combination of two distinct sources, both software, both hardware, or one hardware and other software.
Values are accumulated when the integrator is enabled and not halted. The integrator halt and enable states
can be controlled in the following ways:
•
by hardware, through external signals; the enabling and the selection of the signal request modes
is done through the DECFILTER_MXCR fields SENSEL and SHLTSEL, respectively (see
Section 26.4.2.3, Decimation Filter Module Extended Configuration Register
(DECFILTER_MXCR)
”);
•
by software, through the same DECFILTER_MXCR fields SENSEL and SHLTSEL. Note that
these fields are in different bytes, so that two distinct, concurrent software tasks can avoid
coherency problems by changing the fields using byte read-modify-write accesses.
NOTE
Enabling and halting does not affect output requests or integrator reset.
Содержание 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...