Skip to main content
MaxR
Associate
August 20, 2018
Solved

Bug in STM32H7 1.3.0 ADC multimode.DualModeData

  • August 20, 2018
  • 2 replies
  • 1020 views

I am using a STM32H7 ADC in multimode. When I generate the source code with STM32CUBEMX 4.26.1 and STM32CubeH7 Firmware Package V1.3.0 / 04-July-2018, i noticed that inside MX_ADC1_Init() in main.c, the following line of code is written:

multimode.DualModeData = ADC_DMAACCESSMODE_DISABLED;

which is throwing compile time exception.

As I understand it should be

multimode.DualModeData = ADC_DUALMODEDATAFORMAT_DISABLED;

Also I noticed that STM32CubeMX IDE is showing "DMA Access Mode" on the second line in ADCs_Common_Settings which is probably is root cause of this issue

This topic has been closed for replies.
Best answer by Mohamed Mansouri

Hi @MaxR​ ,

Thanks for your feedback,

I confirm its a bug and it will be fixed in next CubeMX release,

Please feel free to contact me for further details,

Best regards,

Mohamed

2 replies

Khouloud GARSI
Technical Moderator
September 27, 2018

Hi @MaxR​ ,

I have highlighted your request internally for further check.

One of our experts will answer you ASAP.

Khouloud.

Mohamed Mansouri
Visitor II
September 27, 2018

Hi @MaxR​ ,

Thanks for your feedback,

I confirm its a bug and it will be fixed in next CubeMX release,

Please feel free to contact me for further details,

Best regards,

Mohamed