I am new to this information portal!
However, I have question regarding open drain.
I read that, in open drain mode, neither of the devices (slave/master) are allowed to drive the data line HIGH, they can only drive the line low, otherwise there can be cases where it may damage the controller as it may lead to shorting of the circuit. So in order to do this, when Master has to read the data being transmitted from slave, it changes the mode to HiZ mode and changes the direction to input.
But my query is let's say master has to transmit the data (say data is 0xA5A5) on the data line which is being shared by the slave also. In such case will it cause any problem if mode is being already in HiZ, port direction as output for transmitting data 0xA5A5.? (i.e while transmitting 0xA5A5 master drives the line high also while being in the HiZ mode). So that when Master has to read the data, then it has do no mode change nor direction change as it's already being in HiZ mode, so that slave can drive the line low.