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
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
Very True. But in my case it was just waiting for an answer. The Real UART talks to the Host Computer.