Skip to main content
Yaël Boutreux
Associate II
February 3, 2025
Solved

[CubeMx 6.13.0 / STM32H7 Cube 1.12.1] CubeMx ADC configuration is not successsfully done in main.c

  • February 3, 2025
  • 3 replies
  • 772 views

MCU used : STM32H753ZITx LQFP144
CubeMx version : 6.13.0

Situtation: I have a IOC file with some configurations on ADC1, like "Left Bit Shift" set to "4 bits shift" and "Conversion Data Management" to "DMA One Shot Mode".

Those modifications are not translated into the generation ADC init in main.c

I need to edit this by myself by calling

ADC_REG_InitStruct.DataTransferMode = LL_ADC_REG_DMA_TRANSFER_LIMITED;
ADC_InitStruct.LeftBitShift = LL_ADC_LEFT_BIT_SHIFT_4;
Best answer by Mahmoud Ben Romdhane

Hello @Yaël Boutreux ,

 

Let me thank you for reporting this issue.

I am escalating an internal ticket to the concerned team (ticket number: 202195)

 

Best Regards.

Mahmoud

 

3 replies

Technical Moderator
February 3, 2025

Hello @Yaël Boutreux ,

 

First let me thank you for posting and welcome to the ST Community.

For more investigation, I suggest please that you provide your 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.
Yaël Boutreux
Associate II
February 3, 2025

Hi @Mahmoud Ben Romdhane ,


Sure no problem, the corresponding .ioc file is attached to this message. :)

Thanks,
Yaël

Technical Moderator
February 4, 2025

Hello @Yaël Boutreux ,

 

Let me thank you for reporting this issue.

I am escalating an internal ticket to the concerned team (ticket number: 202195)

 

Best Regards.

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.
Associate
September 30, 2025

Problem still present in 6.15.

Associate
September 30, 2025

My bad, it is fixed.

Technical Moderator
September 30, 2025

Hello @Nicolas_B ,

 

This issue is fixed.

I recommend that you use the last version of STM32CubeMX 6.15.

You can download it through this link :STM32CubeMX | Software - STMicroelectronics

 

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.