2026-05-21 3:01 AM
Hello,
the STM32G474RBTx CubeMX Clock Configuration ADC1_2 and ADC3_4_5 are swapped - the ADC1_2 Mux is actually referring to the ADC3_4_5 Mux, at least when it comes to the subsequent divider options in the respective ADC configurations.
Setting ADC12 Mux to PLLP with e.g. 48.57 MHz allows me to put ADC3_4_5 into ASYNC_DIV_1, whereas the ADC3_4_5 Clock Mux is set to SYSCLK with 170MHz. ADC12 cannot use ASYNC_DIV_1 or 2, even though they should be able to.
It also happens the other way around.
I am using CubeMX 6.17.0 with the G4 package version 1.6.3
2026-05-21 3:21 AM
Hello @janik
Let me thank you for posting.
For more investigation, I recommend that you provide the Ioc.File.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-05-21 8:25 PM
2026-05-22 5:52 AM
Hello @janik
Let me thank you for bringing this issue to our attention.
This issue has been escalated internally to the dedicated team and tracked by Internal ticket number: CDM0062851 (This is an internal tracking number and is not accessible or usable by customers.)
A fix will be implemented in the upcoming releases of STM32CubeMX.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.