??? 08/03/11 19:16 Read: times |
#183183 - uart receiver in software Responding to: ???'s previous message |
Well, if you want to implement a receiver also, which is much more complicated as the sender only, especially in full duplex, then you should read and understand! that (pretty old) application note:
http://www3.htl-hl.ac.at/homepage/IP_LowCostDIL/links/pages/philips/AN446-1.pdf If you understand how this works (uses timer and external interrupts), then you also will find out what must be optimized in that code to extend the maximum baudrate from 4800 to 9600, because the code has a few bugs. But the concept explained by the application note is in my opinion good. I am sure if you try to invent that all yourself, it would you take a long time. Have fun. |