cancel
Showing results for 
Search instead for 
Did you mean: 

300 baud

ilkerguruz
Associate
Posted on January 25, 2011 at 14:38

300 baud

3 REPLIES 3
damh
Associate II
Posted on May 17, 2011 at 14:22

Calculate and compare ;)

32 bit value would not fit in 16 bit ;)

Posted on May 17, 2011 at 14:22

Try using a USART on APB1, and have APB1 running at 18 MHz (ie 72 / 4)

BRR = 18000000 / 300; // 60000
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
ilkerguruz
Associate
Posted on May 17, 2011 at 14:22

hi,

Everyone

PLLMULL=PLLSRC*2

PLLXTPRE=HES/2

//main

USART1->BRR=((unsigned int)(12000000/(16*300)))<<4;

//it is work :)