Solved
CubeMx 4.22.1 bug?
Posted on September 16, 2017 at 03:06
There might be a bug in CubeMx 4.22.1.
Initialization of PLLM division factor for PLL is not included in automatically generated SystemClock_Config function, that might result in incorrect clock settings. Adding initialization of PLLM manually seems to fix the problems.STM32L4 Nucleo, STM32L4 Cube 1.9.0.