Electronic – Mux UART with 74xx Multiplexer

analogmicrocontrollermultiplexerttluart

I have a legacy LPC MCU with 2 UARTs only. One of these UARTs is reserved for different functions such as IAP and RS232. So basically, I have one UART available only.

For an experimental project I need 5 to 7 UARTs to add 5 to 7 SOC modules.

So, I plan a new hardware with any controller, but due to PCB space and controller limitations I do not expect to have many possibilities to add unlimited UARTs.

Planning some type of extender, I had the idea of using two 1:8 74xx multiplexers in order to switch between UARTs and a common VCC/GND shared by all of the participants in my SOC/MCU chain.

Can you switch safely between UARTs using analog muxes? Or are there ramps/peaks that might lead to UART periphery problems?

Best Answer

If all UART comms protocol originates at the Port of the MCU then this may be a workable solution to MUX to the various target devices.

On the other hand if UART comms can asynchronously originate from any of the target devices at any time then this multiplexing scheme is a non-starter.