GD32A50x User Manual
267
14.
Analog-to-digital converter (ADC)
14.1.
Overview
A 12-bit successive approximation analog-to-digital converter module(ADC) is integrated on
the MCU chip, which can sample analog signals from 16 external channels and 2 internal
channels. The 18 ADC sampling channels all support a variety of operation modes. After
sampling and conversion, the conversion results can be stored in the corresponding data
registers according to the least significant bit alignment or the most significant bit alignment.
An on-chip hardware oversample scheme improves performances and reduces the
computational burden of MCU.
14.2.
Characteristics
High performance:
–
ADC sampling rsolution:12-bit, 10-bit, 8-bit or 6-bit.
–
Foreground calibration function.
–
Programmable sampling time.
–
Data storage mode: the most significant bit and the least significant bit.
–
DMA support.
Analog input channels:
–
16 external analog inputs.
–
1 channel for internal temperature sensor (V
SENSE
).
–
1 channel for internal reference voltage (V
REFINT
).
Start-of-conversion can be initiated:
–
By software.
–
By TRIGSEL.
Operation modes:
–
Converts a single channel or scans a sequence of channels.
–
Single operation mode converts selected inputs once per trigger.
–
Continuous operation mode converts selected inputs continuously.
–
Discontinuous operation mode.
–
SYNC mode (the device with two or more ADCs).
Conversion result threshold monitor function: analog watchdog.
Interrupt generation:
–
At the end of routine conversions.
–
Analog watchdog event.
Oversampler:
–
16-bit data register.
–
Oversampling ratio adjustable from 2 to 256x.
–
Programmable data shift up to 8-bit.