The result of the ADC is stored in a left- or right-aligned 16-bit data register. ADCs implemented in STM32F3 and in the majority of STM32L4 MCUs are also capable of converting fully differential inputs.Ī/D conversion of the various channels can be performed in single, continuous, scan, or discontinuous mode. Moreover, some internal channels are also available: a channel for internal temperature sensor (V SENSE), one for internal reference voltage (V REFINT), one for monitoring external V BAT power supply and a channel for monitoring LCD voltage in those MCUs providing a native monochrome passive LCD controller (for example, the STM32L053). MCUs usually have more than ten channels, allowing to measure signals from external sources. In almost all STM32 microcontrollers, the ADC is implemented as a Successive Approximation Register ADC. Some of them from the STM32F3 portfolio even a 16-bit ADC. The majority of STM32 MCUs provide a 12-bit ADC. This reference voltage can be either derived from the V DDA domain or, in MCUs with high pin count, supplied by an external and fixed reference voltage generator V REF+. The input voltage is compared against a well known and fixed voltage, also known as reference voltage. Analog to Digital Converter ⚓︎Īn Analog-to-Digital Converter (ADC) is able to acquire input voltage level and convert it to a number.
0 Comments
Leave a Reply. |