I have two CPUs, master and slave. They are (will be, actually) connected with one SN75176B IC on each side, with two wires connecting them.
After reset, the master will be in transmit mode, slave in recv mode.
When the master sends a command to slave, the master will switch into recv mode and slave into transmit mode.
Now, what happens while they are switching? At one moment, both sides may be in input mode, and the wires will float, maybe generating a start impulse.
How is this situation usually handled?
I could probably solve this with software, by waiting some time, then discarding the byte received, if any. The slave would have to wait even longer and then start sending.