Menu

Software Serial

Help
2011-04-03
2013-05-30
  • Nobody/Anonymous

    Could someone please clarify the situation with the software serial RS232 communication. There seems to be quite unclear how and if it works.

     
  • Mauried

    Mauried - 2011-04-04

    Its always worked for me , on 12F675, 16F628, 16F88 and 16F886.
    However its not the best way to go if the Pic has a hardware usart, as it causes the PIC to hang
    when the PIC is sending and receiving data.
    It wont work if any interrupts are used , as the bit times have to calculated and
    interrupts will cause this calculation to be wrong.
    As most PICs have hardware usarts, there is very little reason to use the SW usart code.

     
  • Djbillyd007

    Djbillyd007 - 2011-04-11

    I got it to work on the 12F683. I had it recieving from pc and then sending to another 12f683, recieving back and sending back to pc. If I can find the code I will post it. Was just experimenting to see if I could do it.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.