Question
STM32CubeL4 1.9.0 CubeMx 4.22.1
Posted on September 14, 2017 at 22:45
There might be an ADC clock issue when the project is configured with CubeMx 4.22.1 and 1.9.0 CubeL4.
When SAI clock is selected for ADC in CubeMx the HAL_RCCEx_PeriphCLKConfig called by SystemClock_Config returns HAL_ERROR.Everything works if SYSCLK is selected as ADC clock##. SAI clock configuration works correctly with the previous versions of CubeMx and CubeL4 libraries.