Connect with us

16f876 dual serial asynchronous link?

Discussion in 'Hobby Electronics' started by Yoong Ping, Lim, Sep 12, 2004.

Scroll to continue with content
  1. Hi,

    i need to have two asynchronous link using 16f876 but it only has 1 usart

    any recommendation?

  2. Josh

    Josh Guest

    If your 2 async links can be different speeds, just wire both up in
    parallel, and switch the BRG from one speed to the other to switch
    between serial devices.
    As long as there's sufficient difference between the two speeds, the
    two devices connected won't see the data destined for the other. From
    memory anything more than about 10% difference is pretty safe.
    Last time I did this on a '876 I was switching the usart between 1200
    and 38400bps without any problems. The trick is finding a crystal that
    will allow the baud rate generator to approximate your two baud rates
    accurately anough.

  3. David Wilson

    David Wilson Guest

    Try hanging a MAX3100 off the SPI port.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day