Decimation filter memory map for parallel side interfaces. STMicroelectronics SPC58xNx 32-bit Power Architecture microcontroller, SPC58NN84C3, SPC58NN84E7
Реклама
Реклама
Decimation Filter (DECFILTER) RM0421
Field
0:31
SUM_VALUE
Table 681. DECFILTER_CINTVAL field descriptions
Description
Integration Sum Value
The SUM_VALUE field holds an unsigned number representing the sum of filtered output values, continuously updated as the integration proceeds. The control of the integration sum is determined by the register DECFILTER_MXCR (see
Section 40.3.2.3: Decimation Filter Module Extended Configuration Register
Note: If the DEFILTER_MXCR bit SSAT=1, the integration sum is saturated, so that if the accumulation overflows DECFILTER_CINTVAL holds the value
0xFFFFFFFF for absolute integration (SSIG=0), or values 0x7FFFFFFF
(positive saturation) and 0x80000000 (negative saturation) for signaled integration (SSIG=1). If SSAT=0, DECFILTER_FINTVAL holds the integration sum modulo 217 (considering the 15-bit fractional part).
A read on this register automatically commands an update of the register
DECFILTER_CINTCNT.
40.3.2.13 Decimation Filter Current Integration Count Value register
(DECFILTER_CINTCNT)
Offset: 0x00EC
0
R
W
Reset 0
1
0
2
0
3
0
4
0
5
0
6
0
7 8
COUNT
0 0
9
0
10
0
11
0
Access: User read only
12 13 14 15
0 0 0 0
16
R
W
Reset 0
17
0
18
0
19
0
20
0
21
0
22
0
23 24
COUNT
0 0
25
0
26
0
27
0
28
0
29
0
30
0
31
0
Figure 568. Decimation Filter Current Integration Count Value register (DECFILTER_CINTCNT)
Field
0:31
COUNT
Table 682. DECFILTER_CINTCNT field descriptions
Description
Integration Count Value
The COUNT field holds the count of filtered outputs integrated. The value is updated only when register DECFILTER_CINTVAL is read, to keep the coherency between the integration and count values.
40.3.3 Decimation filter memory map for parallel side interfaces
The Decimation Filter exchanges data with the master blocks through the two PSI (PSI0 and
PSI1). The master blocks send data to the input buffer and reads data from the output buffer of the filter. To implement this exchange, only a single register is required as described in
, therefore the PSI addresses are ignored.
RM0421 Rev 5
Завантажити
Реклама