cancel
Showing results for 
Search instead for 
Did you mean: 

USART STM32F429i-Discovery

ibrahim
Associate II
Posted on September 15, 2016 at 17:36

Hello

everyone

, I hope

you are well

🙂

I would like to

know how I can

write the value

9600 baud or 2400 baud directly

in the registry

I found

USART1-

>

BRR

but when I put the frequency / 9600, it does not work :

/, my frequencey it's 180Mhz. Thanks you 🙂0690X00000605bpQAA.png

2 REPLIES 2
Posted on September 15, 2016 at 18:32

You'd have to divide into the APB clock for the USART, in this case APB2 at 90 MHz, and the value would need to fit in 16-bit

For the 16x over-sampling case

9600 BRR =9375

2400 BRR=37500

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
ibrahim
Associate II
Posted on September 19, 2016 at 10:27

Thank you for your reply clive1