AnsweredAssumed Answered

Setting the baudrate for usart in stm32f103rb.

Question asked by Muzahir Hussain on Jan 16, 2018
Latest reply on Jan 16, 2018 by Clive One

Why do we need to calculate the baudrate using this formula,

baud = fCK / (16*USARTDIV)


I mean, why can't we write 9600 or any other desired baudrate value directly in USART_BRR register? Why do we need to perform this calculation first. What are we calculating here anyway?


This might be a dumb question to ask, but I am really confused here. Please help.

Thanks in advance!