cancel
Showing results for 
Search instead for 
Did you mean: 

Bug: Cube MX PLL configuration

Posted on December 15, 2017 at 21:53

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.

0690X00000609FAQAY.png

As any one else noticed this issue?

1 ACCEPTED SOLUTION

Accepted Solutions
Posted on December 18, 2017 at 12:59

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

View solution in original post

2 REPLIES 2
Imen.D
ST Employee
Posted on December 18, 2017 at 12:47

Hello ,

Please try to use the last version of CubeMx 4.23.

Best Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on December 18, 2017 at 12:59

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