Tool/software:
Hi,
I am working on SOFT I2C with MCU MSPM0L1306 (Custom board). In SOFT I2C I want to check for BUS lock condition for that I need to monitor SDA (PA0 with High-Z state configuration used as SDA pin ) line during write operation.
To check bus lock condition, configuring SDA pin as input to read SDA line, the spikes are observed as shown in below image.
This is because of SDA pin when made as input and output again.
How to avoid spikes during configuration of SDA (PA0 pin) pin as output and then again as input?