Skip to main content
AMend.7
Associate III
Nov 15, 2026 1:09 PM UTC
Question

Possible bug in STM32CubeMX2 for dual-mode ADC with DMA

Hi

As shown in the attached ioc2 file, STM32CubeMX2 requires DMA to be configured for ADC2.
However, setting the "Regular data format" parameter to "Packed on 32 bits" configures the 32-bit CDR (Common Data Register) to receive conversion values ​​from both ADCs; therefore, it makes no sense for STM32CubeMX2 to require a DMA configuration for ADC2.

 Ari