![ARTERY AT32F435 Series Скачать руководство пользователя страница 355](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592355.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 355
Rev 2.03
18
Analog-to-digital converter (ADC)
18.1 ADC introduction
The ADC is a peripheral that converts an analog input signal into a 12-bit/10-bit/8-bit/6-bit digital signal.
Its sampling rate is as high as 5.33 MSPS. It has up to 19 channels for sampling and conversion.
18.2 ADC main features
In terms of analog:
12-bit, 10-bit, 8-bit or 6-bit configurable resolution
Self-calibration time: 205 ADC clock cycles
ADC conversion time
−
Fast channel: ADC conversion time is 0.1875 μs at 80 MHz in 12-bit resolution (5.33MSps)
−
Slow channel: ADC conversion time is 0.2375 μs at 80 MHz in 12-bit resolution (4.21MSps)
−
Fast channel: ADC conversion time is 0.1126 μs at 80 MHz in 6-bit resolution (8.88MSps)
−
Slow channel: ADC conversion time is 0.1626 μs at 80 MHz in 6-bit resolution (6.15MSps)
ADC supply requirement: Refer to AT32F435/437 data sheet for more information
ADC input range: V
REF-
≤
V
IN
≤
V
REF+
In terms of digital control:
Regular channels and preempted channels with different priority
Regular channels and preempted channels both have their own trigger detection circuit
Each channel can independently define its own sampling time
Conversion sequence supports various conversion modes
Oversampling
Optional data alignment mode
Programmable voltage monitor threshold
Regular channels with DMA transfers
Interrupt generation at one of the following events:
―
Conversion overflow of regular channels
―
End of the conversion of preempted channels
―
End of the conversion of regular channels
―
Voltage outside the threshold programmed
ADC master/slave modes
Master/slave shift mode with programmable timing shift length between ADCs
―
Master-slave mode with DMA is suited to high-performance requirements
18.3 ADC structure
Figure 18-1 shows the block diagram of ADC1.
Differences between ADC2/ADC3 and ADC1:
1.
ADC2/ADC3 are not connected to the internal temperature sensor (Temp. sensor) and internal
reference voltage (V
IN T R V
) and battery voltage (V
B AT
)