I am designing an interface board based on a single UART 8051 family microcontroller.The interface needs two serial port;one for system serial bus and another for networking through a serial-ethernet converter.Is it possible to implement a software UART using two normal pin of micro?Is there any way to share the single UART of the micro for the two puposes? Any solution will be appreciated.
Dear Rahim, Regards, You answer is "Yes" I have seen this technique in some industrial boards . You must simulate pulse width on the port bit that you want to use serial exactly. Your pulse width is based on your desired baud rate and start bit and stop bit must be applied . You must use Interrupt and Timers for this reason .