AnsweredAssumed Answered

CubeMX problem (bug?)

Question asked by renga.flavio.001 on Mar 8, 2017
Latest reply on May 2, 2017 by renga.flavio.001

Hi,

I'm having problems with STM32 CubeMX (v4.19.0) during the setup of the ADC2 peripheral (may be a bug...).

Even if the number of conversion is ONE, I have two different ranks both pointing to the same ADC channel (please refer to the attached screenshot).

I looked into the ioc  and some lines don't convince me (I have only channel 4 active):

"...

ADC2.Channel-20\#ChannelRegularConversion=ADC_CHANNEL_4
ADC2.Channel-4\#ChannelRegularConversion=ADC_CHANNEL_4
ADC2.Channel-8\#ChannelRegularConversion=ADC_CHANNEL_4

..."

 

Is there any .ioc file cleaner that can fix this behavior?

 

Thanks in advance

 

Flavio

Attachments

Outcomes