Question
STM32F407 change to 25MHz usart3 baud rate problem
Posted on October 05, 2017 at 15:38

Hi all,
I am using STM32F407VET6 with 25MHz crystal by STM32Cube_FW_F4_V1.16. I have changed HSE_VALUE to 25000000 in system_stm32f4xx.c and RCC_OscInitStruct.PLL.PLLM = 25 in SystemClock_Config main.c, but I found that usart3 baud rate is not correct. I set the baud rate to 9600, but I got 30075 from Oscilloscope. The method I used is in
Page 9.
Here is my result.

Please help me. Thank you
Regards,
Elliott
#usart #25mhz-crystal