Skip to main content
Visitor II
May 23, 2025
Solved

How to calibrate the MSIS hardware autocalibration of the stm32u5

  • May 23, 2025
  • 1 reply
  • 604 views

 

 

Hi. I am currently using the stm32u545ret6q mcu.

 

Looking at the RCC of reference documentation(RM0456) it says that it has MSIS hardware autocalibration, but the example code(AN5676) only shows how to adjust the trimming value.

 

Do you have any example code that shows how to do hardware auto-calibration?

 
 
Best answer by mƎALLEm

Hello,

To my knowledge there is no example for MSIS hardware autocalibration. But from reference manual states the following:

mALLEm_0-1749480986847.png

So you need to use the PLL-mode hardware auto-calibration feature, ensure the LSE oscillator is connected and operational and configure the RCC_CR register to enable PLL-mode (MSIPLLEN and MSIPLLSEL bits).

1 reply

mƎALLEm
mƎALLEmBest answer
Technical Moderator
June 9, 2025

Hello,

To my knowledge there is no example for MSIS hardware autocalibration. But from reference manual states the following:

mALLEm_0-1749480986847.png

So you need to use the PLL-mode hardware auto-calibration feature, ensure the LSE oscillator is connected and operational and configure the RCC_CR register to enable PLL-mode (MSIPLLEN and MSIPLLSEL bits).

"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."