2017-12-15 12:53 PM
After generating the code using cube MX version 4.22.1 for STM32L476VG board, I noticed that RCC_OscInitStruct.PLL.PLLM does not get assigned to any value in SystemClock_Config().
Due to this RCC_PLLCFGR register enables unwanted PLLs.
For eg in my case I was expecting only PLLR to be enabled with register value to be 0x1002a71 but it turned out to be RCC_PLLCFGR = 0x7737f71 where PLLQ and PLLP is also eanabled.
As any one else noticed this issue?
Solved! Go to Solution.
2017-12-18 04:59 AM
Thanks Imen for your quick feedback. Indeed the solution here is to use CubeMX 4.23, the latest revision at the moment.
I confirm that there was such problem in previous version of STM32CubeMX. PLLM parameter was not set properly. Now it is fixed.
Regards
Szymon
2017-12-18 03:47 AM
Hello ,
Please try to use the last version of CubeMx 4.23.
Best Regards
Imen
2017-12-18 04:59 AM
Thanks Imen for your quick feedback. Indeed the solution here is to use CubeMX 4.23, the latest revision at the moment.
I confirm that there was such problem in previous version of STM32CubeMX. PLLM parameter was not set properly. Now it is fixed.
Regards
Szymon