Skip to main content
frackers
Senior
September 23, 2018
Solved

STM32CubeMX v4.27.0 can't disable Scan Conversion Mode on ADC of F4

  • September 23, 2018
  • 2 replies
  • 1543 views

As in the title, I've just updated to 4.27.0 and it insists on enabling Scan Conversion mode. This causes my ADC code to fail.

Since there are no alternate options, why is the item in the menus?

This topic has been closed for replies.
Best answer by frackers

SOLVED!!

If more than 1 ADC channel is selected such that "Number of Conversion" is > 1 then the scan mode is turned on automagically. Since I'm selecting the inputs individually and not scanning I just have to make sure I DON'T set them all up in CubeMX

2 replies

Technical Moderator
September 24, 2018

Hello @frackers​ ,

After check, I can disable Scan Conversion Mode on ADC for STM32F4 using STM32CubeMx version 4.27.0

0690X000006C4TYQA0.jpg

Please share your ioc file for check your case.

With Regards,

Imen.

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
frackers
frackersAuthorAnswer
Senior
October 10, 2018

SOLVED!!

If more than 1 ADC channel is selected such that "Number of Conversion" is > 1 then the scan mode is turned on automagically. Since I'm selecting the inputs individually and not scanning I just have to make sure I DON'T set them all up in CubeMX