Hi
If you wire Tx from UART 0 and Rx from UART 1 as one serial interface, then Tx from UART1 and Rx from UART0 as a second, you could then use the AUTO_ECHO mode to send received characters from one interface directly to the other output.
Regards
Mark
Ioline wrote:Not a bad idea, but my overall goal is to link:
UART1 (RX) -> UART0 (TX)
UART1 (TX) -> UART0 (RX)
My question is what is the best way to link them.
If the arrow indicates direction of flow, I think you mean UART1 (TX) <- UART0 (RX).
If the timing is the same (baud rate, data bits, stop bits, no flow control) then the receive ISR for each uart could simply write each rx character to the tx output register of the other uart.
Otherwise you would need software ring buffers to accomodate the speed mismatch.