AnsweredAssumed Answered

STM32CubeMX 4.20 BugReport (ADC Dual Mode)

Question asked by Ali Pourahmad on Mar 31, 2017
Latest reply on Oct 13, 2017 by Sirma Siang

I'm using STM32CubeMX 4.20 and STM32CubeF1 v1.4.0 HAL driver. There is a bug when you configure the ADC1 as dual regular simultaneous mode. The code generator adds multi-mode configuration for both ADCs (master and slave) that make the program fall into Err_Call_Back_function() at the initialization phase. CubeMX also does not add "hadc2.Init.ExternalTrigConv = ADC_SOFTWARE_START" for ADC2_Init_function() that prevent the dual mode to run properly.