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.