1. ADC introduction
What is the ADC?
The 12-bit ADC is a successive approximation anlog-to-digital converter.
What is the channels of ADC?
It has up to 18 multiplexed channels allowing it measure signals from 16 external and 2 internal sources.
What is the ADC modes?
A/D conversion of the various channels can be perform in single, continuous, scan or discontinuous mode.
How does the result stored in the register?
The result of the ADC is stored in a left-aligned or right-aligned 16-bit data register.
How to keep input voltage in defined range?
The analog watchdog feature allow the application to detect if the input voltage goes outside the user-defined high or low thresholds.
What is the ADC clock?
The ADC input clock is generated from the PCLK2 clock dived by a prescaler and it must not exceed 14 MHz.
2. ADC main feature
- 12-bit resolution
- interrupt generation at end of conversion, end of injected conversion and analog watchdog event
- signal and continuous conversion modes
- scan mode for automatic conversion of the channel 0 to channel n
- self-calibration
- data aligment with in-built data coherency
- channel by channel programmable sampling time
- external trigger option for both regular and injected conversion
- discontinuous mode
- dual mode (one devices with 2 ADCs or more)
- ADC conversion time: 1us at 56MHz (1.17 us at 72MHz)
- ADC supply requirement: 2.4V to 3.6V
- ADC input range: Vref- <= Vin <= Vref+
- DMA request generation during regular channel conversion
Notes: Vref- if available (depending on package), must be tied to Vssa-