cancel
Showing results for 
Search instead for 
Did you mean: 

How to check UART baud rate without using BRR register?

MMust.5
Senior II

Maybe in some register the baud rate is saved?

10 REPLIES 10

If the RX pin is connected to a TIM Channel, you could measure the pulse widths, the shortest being One Bit Time, the others presumably being some higher integer multiple of that.

For example 9600 baud being around 0.1042666 ms

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..