Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
361
/
631
The conversion can be stopped by clearing the ADC_CTRL2.ONbit and placing the ADC in power-off mode. In this
mode, the ADC consumes almost no power (just a few μA). Power-down can be checked by polling the
ADC_CTRL3.PDRDY bit.
When the ADC is disabled, the default mode is power-down. In this mode, as long as the power is on, there is no
need to re-calibrate, and the calibration value is automatically maintained in the ADC. To further reduce power
consumption, the ADC has a deep sleep mode. When ADC Disable will enter deep sleep mode, the calibration value
inside the ADC is lost and needs to be recalibrated. Deep sleep saves about 0.2μA of power consumption.
Note: Register ADC_CTRL3.DPWMOD which controls ADC deep sleep mode.
Channel selection
Each channel can be configured as a regular sequence and an injection sequence.
Injection sequence
consists of multiple conversions, up to a maximum of 4.
The ADC_JSEQ register specifies the
injection channel and the conversion order of the injection channel. The ADC_JSEQ.JLEN[1:0] bits specified
injection sequence length.
Regular sequence consists of multiple conversions, up to a maximum of 16.
The ADC_RSEQx registers specify the
regular channels and the conversion order of the regular channels. The ADC_RSEQ1.LEN[3:0] bits specified regular
channel sequence length.
Note: During conversion, changes to the ADC_RSEQx or ADC_JSEQ registers are prohibited; the ADC_RSEQx or
ADC_JSEQ registers can only be changed when the ADC is idle.