AnsweredAssumed Answered

STM32CubeMX Bug: NbrOfDiscConversion not set

Question asked by m.g.002 on Aug 24, 2015
Latest reply on Oct 12, 2015 by STM32Cube-T
When Discontinuous Conversion Mode is disabled CubeMX leaves the NbrOfDiscConversion field in ADC_InitTypeDef uninitialized which can cause assert_param(IS_ADC_REGULAR_NB_CONV(hadc->Init.NbrOfConversion)) in 
HAL_ADC_Init to trigger resulting in an assert failure.

CubeMx Version 4.9.0
STM32Cube FW_L1 V1.3.0

Outcomes