Rev. 1.10
134
October 23, 2020
Rev. 1.10
135
October 23, 2020
BC66F5652
2.4GHz RF Transceiver A/D Flash MCU
BC66F5652
2.4GHz RF Transceiver A/D Flash MCU
• SADC1 Register
Bit
7
6
5
4
3
2
1
0
Name
SAINS3
SAINS2
SAINS1
SAINS0
—
SACKS2 SACKS1 SACKS0
R/W
R/W
R/W
R/W
R/W
—
R/W
R/W
R/W
POR
0
0
0
0
—
0
0
0
Bit 7~4
SAINS3~SAINS0
: A/D converter input signal selection
0000: External signal – External analog channel input, ANn
0001: Internal signal – Internal A/D converter power supply voltage AV
DD
0010: Internal signal – Internal A/D converter power supply voltage AV
DD
/2
0011: Internal signal – Internal A/D converter power supply voltage AV
DD
/4
0100: External signal – External analog channel input , ANn
0101: Internal signal – Internal signal derived from PGA output V
R
0110: Internal signal – Internal signal derived from PGA output V
R
/2
0111: Internal signal – Internal signal derived from PGA output V
R
/4
10xx: Unused, connected to ground
1100~1111: External signal – External analog channel input, ANn
When the internal analog signal is selected to be converted, the external channel input
signal will automatically be switched off regardless of the SACS bit field value. It will
prevent the external channel input from being connected together with the internal
analog signal.
Bit 3
Unimplemented, read as “0”
Bit 2~0
SACKS2~SACKS0
: A/D conversion clock source selection
000: f
SYS
001: f
SYS
/2
010: f
SYS
/4
011: f
SYS
/8
100: f
SYS
/16
101: f
SYS
/32
110: f
SYS
/64
111: f
SYS
/128
• SADC2 Register
Bit
7
6
5
4
3
2
1
0
Name
ADPGAEN
—
—
PGAIS
SAVRS1 SAVRS0 PGAGS1 PGAGS0
R/W
R/W
—
—
R/W
R/W
R/W
R/W
R/W
POR
0
—
—
0
0
0
0
0
Bit 7
ADPGAEN
: A/D converter PGA enable/disable control
0: Disable
1: Enable
This bit is used to control the A/D converter internal PGA function. When the PGA
output voltage is selected as A/D input or A/D reference voltage, the PGA needs to be
enabled by setting this bit high. Otherwise the PGA needs to be disabled by clearing
the ADPGAEN bit to zero to conserve power.
Bit 6~5
Unimplemented, read as “0”
Bit 4
PGAIS
: PGA input voltage (V
RI
) selection
0: From VREFI pin
1: From internal reference voltage V
BGREF
When the internal independent reference voltage V
BGREF
is selected as the PGA input,
the external reference voltage on the VREFI pin will be automatically switched off.
When this bit is set high to select V
BGREF
as PGA input, the internal bandgap reference
V
BGREF
should be enabled by setting the VBGREN bit in the VBGRC register to “1”.