Main Content

ADC 1, ADC 2, and ADC 3

Use the three ADC1, ADC2, and ADC3 parameters to configure the ADC for different channels.

DMA transfer complete interrupt is enabled

DMA transfer complete interrupt is enabled by default.

Settings

Default: off

on

Watchdog interrupt is enabled

Watchdog interrupt is enabled by default

Settings

Default: off

on

Enable Regular EoCS interrupt

Select Enable regular EoCS interrupt to trigger an ISR from a ADC.

Settings

Default: off

on

Enable Injected EoCS interrupt

Select Enable injected EoCS interrupt to trigger an ISR from a ADC.

Enable Overrun interrupt

Select Enable Overrun interrupt to trigger an notification when overrun occurs.

Run ADC calibration during model initialization

Select Run ADC calibration during model initialization to perform ADC calibration during model initialization to remove any bias.

This parameter is available only for STM32G4xx and STM32H7xx based boards

Calibration method

Select the ADC Calibration method. You can launch calibration automatically or specify calibration registers manually.

This parameter is available only for STM32G4xx and STM32H7xx based boards

Calibration mode

Select the ADC Calibration mode as Offset or Offset and linearity.

This parameter is available only for STM32H7xx based boards

ADC conversion mode

Select the ADC conversion mode for which you want to launch the calibration. ADC conversion can be single ended or differential or both.

This parameter is available only for STM32G4xx and STM32F7xx based boards

Single ended mode offset calibration factor

Specify the ADC single ended offset calibration factor.

This parameter is available only if Calibration mode is set to Specify calibration register manually and ADC conversion mode is either single ended or both single ended or differential.

This parameter is available only for STM32G4xx and STM32H7xx based boards

Differential ended mode offset calibration factor

Specify the ADC differential ended offset calibration factor.

This parameter is available only for STM32G4xx and STM32H7xx based boards

Linear calibration factor word#

Specify the linear calibration factor word.

This parameter is available only if Calibration method is set to Specify calibration register manually and Calibration mode is set to either Linearity or both Offset and Linearity.

This parameter is available only for STM32H7xx based boards

Refresh

Click Refresh to update configuration parameters according to changes in selected STM32CubeMX project.