This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0L1306: Arm-based microcontrollers forum

Part Number: MSPM0L1306

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?