cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in STM32H7 1.3.0 ADC multimode.DualModeData

MaxR
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

2 REPLIES 2
Khouloud GARSI
Lead II

Hi @MaxR​ ,

I have highlighted your request internally for further check.

One of our experts will answer you ASAP.

Khouloud.

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