Tool/software:
Hi Expert
Customer doing I2C simulation through GPIO, in I2C transmission mode(GPIO set as output), customer set the GPxODR = 1, enable the pullup, the I2C voltage level can be properly toggled.
But in I2C receive mode (GPIO set as input), if customer still set GPxODR = 1,enable the pullup, the GPIO will pull the I2C bus to the logic low, the I2C cannot transmitted properly, once customer set GPxODR = 0, enable pullup, the I2C bus can recover.
Is there anything wrong when configure the GPxODR = 1 when GPIO configured as input?
Thanks
Joe