Hi all,
I have a really annoying issue with some UART multiplexing. Here the initial situation:
I would like to let a MSP430G2553 communicate with up to eight UART parties. Therefore I multiplex the RX and TX line through a multiplexer each, using GPIO pin voltages to control the multiplexer accordingly. Lets assume that my multiplexer work -> I have eight UART (RX,TX,GND) interfaces. Here comes the tricky bit: Lets just think about one other party connected to one of the eight multiplexed connections. This party has also two multiplexer and also eight UART interfaces. How can I now ensure that both both x553 uC interact with each other? I tried to make the one uC faster than the other in terms of multiplexing the signal.
Right now I try to let them establish some connection by sending single signs to kind of verify a uC-uC communication.
if(Serial.available()>0){
incomingRequest=Serial.read();
if(incomingRequest==100){...
I guess that the UART realization with having two different overall times multiplexing the RX/TX connections of a uC, is to complicated and you guys will probably recommend to think about some other communication. Anyway I am happy about every comment. I added as attachment a picture of the conceptional idea.
Best,
M.