How to change baud rate of serial port uart in runtime stm32f4?
Hi everybody,
I use UART6 of STM32F437 and want to change baud rate between baud rate 115200, 460800 and 921600 in runtime
I've followed some answers from a post here:
USART6 -> CR1 &= ~(USART_CR1_UE);
USART6 -> BRR = NEWVALUE;
USART6 -> CR1 |= USART_CR1_UE;
But still can't seem to get the baud rate to change. Has anyone change the baud rate of the UART successful?
/****************************************************/
Thanks and brgs
