Skip to main content
adamajames2
Associate II
September 18, 2008
Question

USART at 5 baud?

  • September 18, 2008
  • 4 replies
  • 882 views
Posted on September 18, 2008 at 12:32

USART at 5 baud?

    This topic has been closed for replies.

    4 replies

    adamajames2
    Associate II
    May 17, 2011
    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?

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

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

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

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

    tibo
    Associate II
    May 17, 2011
    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…