I accidentally swapped the TX and RX pins on a UART bus when hooking up a to a 3.3V bus with this 3.3V cable: https://www.sparkfun.com/products/12977.
Did I cause any permanent damage to this board as I debug it?
Can we all agree to use TXO, RXI?
I accidentally swapped the TX and RX pins on a UART bus when hooking up a to a 3.3V bus with this 3.3V cable: https://www.sparkfun.com/products/12977.
Did I cause any permanent damage to this board as I debug it?
Can we all agree to use TXO, RXI?
It's quite unlikely that there'll have been any permanent damage. Typical LVCMOS output stages can survive contention with each other - they will source/sink 20 mA or so, which is usually below their damage limit. But the details do depend on the ICs involved, you could check the datasheets if you're thinking of building these particular parts into a high reliability system and are concerned about latent failures.
You cannot damage them, in fact the #1 test if you don't have data is to switch the TX/RX.
Din and Dout are also a standard but TX means transmit and RX means Receive so it's pretty clear what those mean. The problem is no matter what you call them it will always be easy to get confused due to which device you are looking at since the opposite lines always go together.
EDIT: My apologies for not being more thorough in my explanation. The only situation where there will be contention is TX to TX as RX to RX would be two inputs. First consider that the output will never be a constant HIGH signal as the output buffer is transmitting a structured packet. The duty cycle is reduced even further when connecting two TX pins VS one TX pin to Vcc or Gnd. Swapping the pins on any serial bus has been a problem from the beginning and you will find all serial protocols provide some level of fault tolerance. Take a look at the specifications for RS-485 as an example.
The exact electrical specifications for the drive current of a TX pin varies between device manufacturers. Take a look at the datasheet for the TI TL16C752D. The maximum output current per pin is .5mA HIGH and 1mA LOW. The PL2303 has a maximum drive current of 4-8mA. The FT232 says 24mA but I suspect that is for the GPIO pins only. Some TX pins are open collector outputs relying on an internal pull up resistor and most provide clamping diodes to protect the pins that can handle well over 10mA.