下面是stm32的過采樣資料:
Improving STM32F101xx and STM32F103xx
ADC resolution by oversampling
Introduction
The STMicroelectronics Medium- and High-density STM32F101xx and STM32F103xx
Cortex™-M3 based microcontrollers come with 12-bit enhanced ADC sampling with a rate
up to Msamples/s. In most applications, this resolution is sufficient, but in some cases where
higher accuracy is required, the concept of oversampling and decimating the input signal
can be implemented to save the use of an external ADC solution and to reduce the
application consumption.
This application note gives two methods to improve ADC resolution. These techniques are
based on the same principle: oversampling the input signal with the maximum 1 MHz ADC
capability and decimating the input signal to enhance its resolution.
The method and the firmware given within this application note apply to both Medium- and
High-density STM32F10xxx products. Some specific hints are given at the end of the
application note to take advantage of the Medium- and High-density STM32F103xx
performance line devices and of the High-density STM32F101xx access line devices.
This application note is split into two main parts: the first one describes how oversampling
increases the ADC-specified resolution while the second describes the guidelines to
implement the different methods available and gives the firmware flowchart of their
implementation on the STM32F101xx and STM32F103xx devices.