This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Software UART

Hi All,

I am trying to write software UART in C51. I manage to receive some thing but not the right character I sent. I think I have sync problem but it is hard to debug it.
I will be glad if someone can send me such a code (I try to look for it in the net but I didnt found any C code).


Thanks
KH

Parents
  • One thing not mentioned so far is that a bit bang UART is very "resource hungry". If the pupose is simple e.g. receive on the regular UART and bit bang it out, sure it is possible, but keep adding processing and at some time, surprise your bit-bang UART becomes erratic.

    Erik

Reply
  • One thing not mentioned so far is that a bit bang UART is very "resource hungry". If the pupose is simple e.g. receive on the regular UART and bit bang it out, sure it is possible, but keep adding processing and at some time, surprise your bit-bang UART becomes erratic.

    Erik

Children