Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
359
/
631
Figure 17-1 Block diagram of a single ADC
Table 17-1 ADC pins
Name
Types
Description
V
DDA
Input, analog power supply
Equivalent to V
DD
analog power supply and:
1.8V ≤ V
DDA
≤ V
DD
(3.6V)
V
SSA
Input, analog power supply ground
Equivalent to V
SS
Analog power supply ground
V
REF+
Input, analog reference positive
Positive reference voltage used by ADC, 1.8V ≤ V
REF+
≤ V
DDA
V
REF-
Input, analog reference negative
Negative reference voltage used by the ADC, V
REF- =
V
SSA
ADCx_IN[16:1]
Analog input signal
16 analog external input channels
Note:
1
.
V
DDA
and V
SSA.
They should be separately connected to V
DD
and V
SS
.
ADC clock
An ADC requires three clocks, HCLK, ADC_CLK and ADC_1MCLK.
V
REF +
V
REF −
V
DDA
V
SSA
Injected
channels
Regular
channels
Analog to
digital
channels
ADCx_IN1
ADCx_IN2
ADCx_IN16
Gpio
Ports
A
n
a
lo
g
c
h
a
n
n
e
l
m
u
lt
ip
le
x
in
g
V
TS
V
𝑅𝐸𝐹𝐼𝑁𝑇
A
D
C
_
C
T
R
L
2
.
E
X
T
J
T
R
IG
b
it
T
IM
1
_
T
R
G
O
T
IM
1
_
CH
4
T
IM
2
_
T
R
G
O
T
IM
2
_
CH
1
T
IM
4
_
T
R
G
O
T
IM
3
_
CH
4
T
IM8
_CH
4
E
X
T
I_
0
~
15
AFIO_RMP_CFG.
ADC_ETRI bit
T
IM8
_T
RGO
ADC_CTRL2.
EXTJSEL[2:0]
bits
T
IM
1
_
CH
1
T
IM
1
_
CH
2
T
IM
1
_
CH
3
T
IM
2
_
CH
2
T
IM
4
_
CH
4
T
IM
3
_
T
R
G
O
ADCCLK
ADC prescaler
Data bus
Injected data registers
(4 x 16 bits)
Regular data register
(16 bits)
Data register
Analog
watchdog
Interrupt
generate
Analog watchdog event
End of injected conversion
End of conversion
ADC Interrupt to NVIC
E
X
T
I_
0
~
15
ADC_CTRL2.
EXTRSEL[2:0]
bits
AFIO_RMP_CFG.
ADC_ETRR bit
A
D
C
_
C
T
R
L
2
.
E
X
T
R
T
R
IG
b
it
V
REFBUFF