Adc On-Off Control (Aden, Addis, Adrdy); Figure 32. Adc Calibration; Figure 33. Calibration Factor Forcing - ST STM32G0 1 Series Reference Manual

Table of Contents

Advertisement

Analog-to-digital converter (ADC)
ADCAL
ADC State
ADC_DR[6:0]
ADC_CALFACT[6:0]
by S/W
Calibration factor forcing Software Procedure
1.
Ensure that ADEN = 1 and ADSTART = 0 (ADC started with no conversion ongoing)
2.
Write ADC_CALFACT with the saved calibration factor
3.
The calibration factor is used as soon as a new conversion is launched.
calibration factor[6:0]
Start conversion
(hardware or software)
WRITE ADC_CALFACT
CALFACT[6:0]
by S/W
15.3.4

ADC on-off control (ADEN, ADDIS, ADRDY)

At power-up, the ADC is disabled and put in power-down mode (ADEN = 0).
As shown in
converting accurately.
Two control bits are used to enable or disable the ADC:
Set ADEN = 1 to enable the ADC. The ADRDY flag is set as soon as the ADC is ready
for operation.
Set ADDIS = 1 to disable the ADC and put the ADC in power down mode. The ADEN
and ADDIS bits are then automatically cleared by hardware as soon as the ADC is fully
disabled.
Conversion can then start either by setting ADSTART to 1 (refer to
on external trigger and trigger polarity (EXTSEL, EXTEN) on page
trigger event occurs if triggers are enabled.
348/1390
OFF
Startup
by H/W

Figure 33. Calibration factor forcing

ADC state
Ready (not converting)
Internal
F1
by H/W
Figure
34, the ADC needs a stabilization time of t

Figure 32. ADC calibration

t CAB
CALIBRATE
0x00
Converting channel
Updating
(Single ended)
calibration
F2
F2
RM0444 Rev 5
OFF
CALIBRATION
FACTOR
Ready
Converting channel
(Single ended)
before it starts
STAB
Section 15.4: Conversion
358) or when an external
RM0444
MS33703V1
MS31925V1

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF