cancel
Showing results for 
Search instead for 
Did you mean: 

USART at 5 baud?

adamajames2
Associate II
Posted on September 18, 2008 at 12:32

USART at 5 baud?

4 REPLIES 4
adamajames2
Associate II
Posted on May 17, 2011 at 12:45

I'm trying to write a byte at 5 baud before switching quickly back to 10400 baud to receive. USART 1 with a 72MHz clock won't go much below 1000 baud. Any ideas what set up I could use?

st3
Associate II
Posted on May 17, 2011 at 12:45

At that speed (or lack thereof!), couldn't you just bit-bang it?! 8-)

adamajames2
Associate II
Posted on May 17, 2011 at 12:45

Yep, I'll have to if no one can come up with the USART solution.

tibo
Associate II
Posted on May 17, 2011 at 12:45

If SYSCLK = 72 MHz: AHB Prescaler = 8, APB Prescaler = 16 => min. baud rate ~ 4,3.

But of course your cpu clock is only 9 MHz…