Associate
May 5, 2022
Question
using HSI16 on STM32L431KCU generate incorrect baud rate
- May 5, 2022
- 3 replies
- 1671 views
I am trying to use HSI16 on STM32L431KCU but the usart is not generating the correct baud rate. I can only get the correct baud rate if using MSI.
I use CubeMX to generate my code from attached dmc300_l4.ioc.
Below is the clock tree for usart1 and usart2
The output from 2 terminal for usart1 and usart2.
We use other STM32L4 MCU, but it doesn't have this issue. Can you tell me why the STM32L431KCU HSI16 can not generate the correct baud rate?
