Skip to main content
DMeix.1
Associate II
August 18, 2020
Question

Change Baudrate

  • August 18, 2020
  • 2 replies
  • 756 views

I use the STM32F7 and I want to change the baud rate of the USART6 from 115200 to 921600 during runtime, how can I do that?

This topic has been closed for replies.

2 replies

waclawek.jan
Super User
August 18, 2020
  • disable USART USART_CR1.UE=0
  • change baudrate divisor in USART_BRR
  • reenable USART USART_CR1.UE=1

JW

DMeix.1
DMeix.1Author
Associate II
August 19, 2020

Thanks for your help