How to trim the STM32 HSI easily
Hello
I'm using a stm32L431 with an STLinkV3
https://www.st.com/en/microcontrollers-microprocessors/stm32l4x1.html#documentation
HSI is enabled at 16MHz for USART2, used to receive a 1200Bd signal.
I receive wrong characters because of the trim.
I understood the principle of trim and its registers, in particular thanks to this doc
dm00425536-how-to-optimize-stm32-mcus-internal-rc-oscillator-accuracy-stmicroelectronics-2.pdf
My question: is there a way to adjust this trim automatically via cubeIDE and stlinkV3?
Maybe another solution less practical but more practical than a manual adjustment?
Thanks in advance
