cancel
Showing results for 
Search instead for 
Did you mean: 

How do I disable the discontinous conversion mode of the ADC in CubeIDE?

FMori.1
Associate

Hello everyone,

I have recently upgraded my STM32CubeIDE to:

Version: 1.9.0

Build: 12015_20220302_0855 (UTC)

With this version, my ADC settings have changed automatically to have the discontinuous conversion mode always enabled. There is no possibility to disable it:0693W00000KcnhAQAR.pngI would like to have a continuous conversion mode, which is now greyed out because the discontinuous conversion mode is enabled:

0693W00000KcnjQQAR.pngI can work around this issue by just altering the init section of the ADC. It would be nice though to also change it in the .ioc file in order to have it clean.

What do I miss here? How do I disable the discontinous conversion mode?

I am using a STM32G030K6T6 BTW.

Thanks in advance for your response.

Felix

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @FMori.1​ ,

Welcome to the STM32 community and thanks for having reported :smiling_face_with_smiling_eyes:

Actually you're right, Discontinuous Conversion Mode parameter is set by default to Enabled, and it cannot be disabled (Only enabled value can be selected).

This misbehavior is already reported internally to be reviewed.

It seems to be the same issue reported by this thread.

Sorry for any inconvenience that this may cause.

Meanwhile, there is no issue with the previous STM32CubeMX version 6.4.0.

Khouloud.

View solution in original post

3 REPLIES 3
TZARDI
Associate III

Hello,

I've checked the ADC configuration in the STM32CubeIDE version 1.9 and I couldn't see the issue(please check screenshot below).

You can find the latest version of the STM32CubeIDE in this link.

0693W00000KdBhJQAV.pngBest regards,

FMori.1
Associate

Hi Tzardi,

Can you check with several channels active? I.e. number of conversions = 2 or more.

Thanks, Felix

Hello @FMori.1​ ,

Welcome to the STM32 community and thanks for having reported :smiling_face_with_smiling_eyes:

Actually you're right, Discontinuous Conversion Mode parameter is set by default to Enabled, and it cannot be disabled (Only enabled value can be selected).

This misbehavior is already reported internally to be reviewed.

It seems to be the same issue reported by this thread.

Sorry for any inconvenience that this may cause.

Meanwhile, there is no issue with the previous STM32CubeMX version 6.4.0.

Khouloud.