ArticCynda
Advanced Member level 1
- Joined
- May 8, 2013
- Messages
- 439
- Helped
- 82
- Reputation
- 164
- Reaction score
- 81
- Trophy points
- 1,308
- Activity points
- 4,238
Hi everybody,
I have a design with a PIC microcontroller and want to connect its UART (TX, RX, CTS, RTS) to a USB-UART bridge (MCP2200) or a bluetooth low energy module. The lines must be switched if the USB cable is plugged in.
I've been looking into multiplexers for this purpose, but wondering if there are perhaps better solutions for this purpose. I'm considering the following solutions:
- 74HC4052: dual 4 channel mux: from its datasheet I understand its bidirectional, but for 4 lines I would need 2 of them.
- 74HC157: quad 2 channel mux: would be ideal, but the datasheet doesn't mention if it's bidirectional.
Any suggestions?
I have a design with a PIC microcontroller and want to connect its UART (TX, RX, CTS, RTS) to a USB-UART bridge (MCP2200) or a bluetooth low energy module. The lines must be switched if the USB cable is plugged in.
I've been looking into multiplexers for this purpose, but wondering if there are perhaps better solutions for this purpose. I'm considering the following solutions:
- 74HC4052: dual 4 channel mux: from its datasheet I understand its bidirectional, but for 4 lines I would need 2 of them.
- 74HC157: quad 2 channel mux: would be ideal, but the datasheet doesn't mention if it's bidirectional.
Any suggestions?