Software Serial port
Dear edma,
I'm new in this forum. I dont quite sure wether this problem has been around in other thread or not. However I already faced this problems with my 8051 board. I have 2 serial port, 1 using the controller serial port, the other using USART(8251). It seems that the USART works very well using polling method, but not using interrupt.
The way I solved this problem is by implementing a software watch dog using one of the timer. The timer will re-intialize the USART when it detects long inactivity of the serial. I know this is not the best, but it works well in my case. May it could fit yours too.
By the way, if anybody have any better ideas, pls share. Probably I could update mine too !!
Thnks
Added after 46 minutes:
Dear edma,
An addition to my previous reply.
If U thinking of using a software serial port, i remember last time i have been using 80C196 an intel chip. They have 1 application note of implementing the softwre serial port. Probably it could help.