AnsweredAssumed Answered

possible cubemx or library bug?

Question asked by Ricardo Hassan on Jul 14, 2016
Latest reply on Aug 25, 2017 by Sirma Siang
    I generated a project that included ADC2.  Multimode is set to independent.  When I run my project I get an error in MX_ADC2_Init.  When I trace it, the problem is in HAL_ADCEx_MultiModeConfigChannel().  At line 2200 in the attached file t it tries to set the slave, using ADC_MULTI_SLAVE,  but since it is ADC2 the slave instance is set to NULL. It then immediately tries to access that null on line 2208, causing the function to return an error.  Is this a bug, or have I configured something wrong?