Shop OBEX P1 Docs P2 Docs Learn Events
Multiple Uarts with different baud rates — Parallax Forums

Multiple Uarts with different baud rates

ramman345ramman345 Posts: 24
edited 2008-01-04 19:49 in General Discussion
I have a Javelin connected to an LCD and a bluetooth module. The LCD module communicates serially at 9600 baud while the bluetooth module communicates at 57600 baud. Both work correctly when run separately but I start to run in to trouble when I use them together. Because I use the LCD first it looks like the communications to the bluetooth is running at 9600 instead of 57600. Is this common and is there a good solution? I realize that I can probably re-initialize the Uart both times.

Thanks, J

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-01-04 19:49
    I presume you use a bidirectional uart connection with your bluetooth device.
    Sending at 57600 baud is no problem, but receiving is. You can only receive errorfree
    up to 28800 baud, so you should use 19200 baud for·the bluetooth connection
    (I don't think the bluetooth supports 28800, otherwise you can use that).

    regards peter
Sign In or Register to comment.