Question
CubeMX adc rank number bug
Posted on May 30, 2018 at 14:33
Hello there,

When configuring an ADC periph (STM32L452) the ranks are assigned incorrectly. Cube generates this:
sConfig.Rank = 1;
sConfig.Rank = 2;
// etc
Instead of this:
sConfig.Rank = ADC_REGULAR_RANK_1;
sConfig.Rank = ADC_REGULAR_RANK_2;
// etc
Thus, it doesnt work.
DAHMEN.IMEN
‌#adc #stm32l4 #cubemx