Skip to main content
Jaroslaw Hill
Associate II
June 24, 2026
Question

STM32F4 ADC1,2 in Dual mode + ADC3 as Independent

  • June 24, 2026
  • 3 replies
  • 47 views

Hello,

I was trying to run AC1 and ADC2 in Dual mode and ADC3 configured as independent one.

Using HAL_ADC_Start for ADC3 doesn’t start the converter as it checks multi-mode in common ADC_CCR register wrongly not allowing to use ADC3 for ADC_DUALMODE_REGSIMULT (value 6). 

I prepared a patch for stm32f4xx_hal_adc.c, but not for injected channels from stm32f4xx_hal_adc_ex.c file as they have a similar issue.

Could it be checked by library owner or someone responsible for the code?

 

Firmware Package Name and Version : STM32Cube FW_F4 V1.28.3

STM32CubeMX 6.14.0

MCU STM32F446ZEJx

 

Best Regards

Jarosław Hill

3 replies

mƎALLEm
ST Technical Moderator
June 24, 2026

Hello ​@Jaroslaw Hill,

Such kind of questions need to be posted in “STM32 MCUs Embedded software” forum board.

I’ve already moved this post.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
ST Technical Moderator
June 26, 2026

Hello ​@Jaroslaw Hill 

Could you please provide a minimal project that allows us to reproduce the issue on our side?

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
Jaroslaw Hill
Associate II
June 29, 2026

Hello,

Yes, I prepared the project, the code is in Core/Src/adc.c and is invoked from the main loop.

ST Technical Moderator
July 2, 2026

Hello ​@Jaroslaw Hill 

Thank you for bringing this issue to our attention.

I reported this internally.

Internal ticket number: CDM0064048 (This is an internal tracking number and is not accessible or usable by customers).

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om