Adc On-Off Control; Adc Clock; Channel Selection; Table 57. Adc Pins - ST STM32F100 Series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F100 Series:
Table of Contents

Advertisement

Analog-to-digital converter (ADC)
Name
V
REF+
(1)
V
DDA
V
REF-
(1)
V
SSA
ADCx_IN[15:0]
1. V
and V
DDA
2. For full details about the ADC I/O pins, refer to the "Pinouts and pin descriptions" section of the
corresponding device datasheet.
10.3.1

ADC on-off control

The ADC can be powered-on by setting the ADON bit in the ADC_CR2 register. When the
ADON bit is set for the first time, it wakes up the ADC from Power Down mode.
Conversion starts when ADON bit is set for a second time by software after ADC power-up
time (t
STAB
The conversion can be stopped, and the ADC put in power down mode by resetting the
ADON bit. In this mode the ADC consumes almost no power (only a few µA).
10.3.2

ADC clock

The ADCCLK clock provided by the Clock Controller is synchronous with the PCLK2 (APB2
clock). The RCC controller has a dedicated programmable prescaler for the ADC clock,
refer to
Section 6: Reset and clock control (RCC)
10.3.3

Channel selection

There are 16 multiplexed channels. It is possible to organize the conversions in two groups:
regular and injected. A group consists of a sequence of conversions which can be done on
any channel and in any order. For instance, it is possible to do the conversion in the
following order: Ch3, Ch8, Ch2, Ch2, Ch0, Ch2, Ch2, Ch15.
The regular group is composed of up to 16 conversions. The regular channels and
their order in the conversion sequence must be selected in the ADC_SQRx registers.
The total number of conversions in the regular group must be written in the L[3:0] bits in
the ADC_SQR1 register.
The injected group is composed of up to 4 conversions. The injected channels and
their order in the conversion sequence must be selected in the ADC_JSQR register.
The total number of conversions in the injected group must be written in the L[1:0] bits
in the ADC_JSQR register.
If the ADC_SQRx or ADC_JSQR registers are modified during a conversion, the current
conversion is reset and a new start pulse is sent to the ADC to convert the new chosen
group.
164/709
Signal type
Input, analog reference
positive
Input, analog supply
Input, analog reference
negative
Input, analog supply
ground
Analog signals
have to be connected to V
SSA
).

Table 57. ADC pins

The higher/positive reference voltage for the ADC,
2.4 V
V
REF+
Analog power supply equal to V
2.4 V
V
DDA
The lower/negative reference voltage for the ADC,
V
= V
REF-
SSA
Ground for analog power supply equal to V
Up to 21 analog channels
and V
, respectively.
DD
SS
for more details.
RM0041 Rev 6
Remarks
V
DDA
and
DD
3.6 V
(2)
RM0041
SS

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F100 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents