2025-05-22 8:13 PM - last edited on 2025-06-09 7:55 AM by mƎALLEm
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?
2025-06-09 7:57 AM
Hello,
To my knowledge there is no example for MSIS hardware autocalibration. But from reference manual states the following:
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).