Table 359. Csr Field Descriptions - STMicroelectronics SPC572L series Reference Manual

Table of Contents

Advertisement

Sigma-Delta Analog-to-Digital Converter (SDADC) Digital Interface
Offset 0x0004
0
1
R
0
0
W
Reset
0
0
16
17
R
0
0
W
Reset
0
0
Field
0–7
Reserved
Bias enable
8–15
If BIASEN[i] = 1, analog input AN[i] (could be single-ended input or differential analog input) is
BIASEN[7:0]
connected to half-scale bias through a 100 KΩ resistor.
16–20
Reserved
Analog Channel Selection Wraparound Value (ANCHSEL_WRAP)
21–23
When in wraparound mode, this field indicates the maximum value of the wraparound counter,
ANCHSEL_WRAP
after which it will wrap around back to initial value 000. This value should be programmed
before enabling wraparound mechanism (MCR[WRMODE] = 1).
24–28
Reserved
Analog Channel Selection (ANCHSEL)
Based on single-ended or differential mode of operation (MCR[MODE]), common mode
voltage selection (MCR[VCOMSEL]), this field defines the connectivity of analog inputs to
either positive or negative polarity terminals of the SDADC according to
Wraparound Mode:
– This field also indicates the initial entry value for the first loop of the wraparound sequence
29–31
ANCHSEL
– If this field is written any time during wraparound mode (when MCR[WRMODE] = 1), the
– Wraparound will always be from initial counter value 000.
740/2058
2
3
4
5
0
0
0
0
0
0
0
0
18
19
20
21
0
0
0
ANCHSEL_WRAP
0
0
0
0
Figure 316. Channel Selection Register (CSR)

Table 359. CSR field descriptions

from where the wraparound counter will start incrementing when wraparound mode is
entered (when wraparound mechanism enabled (MCR[WRMODE] = 1)).
present value of the wraparound counter will be updated with the value of ANCHSEL — the
next trigger will act on the updated channel, and the next increment will be on the updated
channel. Here, the value of ANCHSEL chosen should be < ANCHSEL_WRAP; otherwise it
will be ignored by hardware.
DocID027809 Rev 4
6
7
8
9
0
0
0
0
0
0
22
23
24
25
0
0
0
0
0
0
Description
Access: User Read/Write
10
11
12
13
BIASEN
0
0
0
0
26
27
28
29
0
0
0
ANCHSEL
0
0
0
0
Table
360.
RM0400
14
15
0
0
30
31
0
0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SPC572L series and is the answer not in the manual?

Table of Contents