Im usint AT89S8252. Has anybody a .C routine to get a second serial interface using port 1, I mean, how can I setup P1.1 to TXD and P1.0 to RXD. I need use two serial interfaces together, I mean, actually I,m using P3 but i need one more. Sorry for my english.
do a search on "soft UART" on google or 8052.com Erik PS it is timing critical, thus you will only find it in assembler
If you look on the IAR website there is a sample application for a software UART.. Could be just what your looking for..
Maxim makes a SPI UART (MAX3100) if that helps. You'll need four I/O's instead of 2 though.
Thanks for your answer. I tried to found some information about software uart, but unfortunately without success. Please, anybody khow how to obtain some code for at89s8252 regarding soft uart definitions? thanks again