cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX ADC Regular Conversion Mode Bug

qwer.asdf
Senior
Posted on November 06, 2014 at 13:34

When selecting the number of channels in the ADC configuration window the automatically generated channel fields are off-by-one, e.g. select 4 channels, there are 3 fields generated, here is the demonstration:

0690X00000605fIQAQ.png

Thank you.

#stm32cubemx
3 REPLIES 3
stm32cube-t
Senior III
Posted on November 20, 2014 at 08:38

Dear user,

Can you please provide the MX version used, MCU selected, and the .ioc file (MX configuration file) so that we can reproduce your issue.

Thanks

qwer.asdf
Senior
Posted on November 20, 2014 at 09:56

I am attaching the project file, it was created with CubeMX 4.3, the bug is visible in CubeMX 4.5. Thanks.

________________

Attachments :

adc-bug.ioc : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzQz&d=%2Fa%2F0X0000000bLt%2F1gQ0XSJDG0RVLQCRVqbOZTGw1Z44.UddIokkoDBmiEk&asPdf=false
stm32cube-t
Senior III
Posted on January 09, 2015 at 13:11

Hello,

The problem is solved in MX 4.5.

However, you will have to reset the ADC configuration (disable the IN channels from the pinout view, save your project and configure again the ADC). Now the 4 ranks appear when you select 4 for the number of conversions. 

Best regards