cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX for STM32WL55 bug: "MSI Auto Calibration" does nothing

Erlkoenig
Associate III

Hi, I found a small bug in STM32CubeMX for STM32WL55:

Enabling the option "MSI Auto Calibration" for section "RCC" does nothing, i.e. generated code doesn't change.

I think it should add a call to HAL_RCCEx_EnableMSIPLLMode() or LL_RCC_MSI_EnablePLLMode () in SystemClock_Config() - same as it does for STM32U0. This enables RCC_CR_MSIPLLEN.

3 REPLIES 3
Mahmoud Ben Romdhane
ST Employee

Hello @Erlkoenig 

Let me thank you for posting.

I am currently checking this behavior, and I will get back to you ASAP.

Thanks.

Mahmoud

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hello @Erlkoenig 

 

Let me thank you for your detailed explanation and bringing this issue to our attention.

The issue is raised to the development team under this internal ticket number (Internal Ticket Number: 224864).

I will let you know when the problem is solved.

For your Information,  LL_RCC_MSI_EnablePLLMode() is well generated on SystemClock_Config while using LL Libraries.

MahmoudBenRomdhane_0-1767965167743.png

 

Thanks

Mahmoud

 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Great, thanks!