cancel
Showing results for 
Search instead for 
Did you mean: 

STMCubeMX 4.7.1: Bug in ADC Configuration

michal2399
Associate
Posted on May 05, 2015 at 18:38

Hello,

Seems to be a bug in ADC configuration. Behaves that some range of ranks are missing at the beginning. Steps to reproduce a bug:

- Set ''Number of conversion'' to for example 14

- Now we have proper number of ranks, enumerated 1,2,3,...,14

- Save the file, close, reopen

- Open ADC configuration

- We can see there are missing ranks 2,3,4

I also found a workaround for the bug: if we see that some range of ranks is missing we can set number of ranks to 1, click apply, then once again set proper number of ranks and seems to be working after project reload.

BR,

Michal

#stm32cube #cubemx #stmcube-stmcubemx-cube-stm32cube
1 REPLY 1
seth
Associate II
Posted on May 06, 2015 at 17:14

I've seen the same behavior for the last few versions... and it generated bad init code when not displaying all ranks.  Your workaround didn't help me in older versions.  Fingers crossed that it has improved in 4.7.1.  I started hand editing the project file to correct the problem.