Assuming the ICs in use don't offer an adjustable slew rate, if I want to limit the slew rate of a unidirectional digital data line, for example of SPI's MOSI-signal, I can put a series resistor at the source. All clear up to this point.
But what is the best practice to limit the slew rate of bidirectional data, for example in the case of I2C SDA? The source end is not fixed and both parties can send. Put a resistor in the middle as a trade-off? Or use a resistor on both ends? Or some other scheme?
And what if the data line has stubs and is shared in addition, like, again, with I2C with multiple slaves?
Thanks for sharing your expertise.