What’s wrong with my I2C bus?

Ian0

Joined Aug 7, 2020
13,097
Something is disturbing your power supply. You can see that because the Data high voltage is only determined by a pullup resistor to the power supply.
Are the grounds properly connected between the two devices?
What does the 3.3V supply look like on the scope?
Are you sure that the SDA and SCL outputs are both set to open-drain?
 

Thread Starter

robotDR

Joined Mar 17, 2020
138
I can post the schematic tomorrow probably. I checked and there is about 9.9k between sda and scl (about double their individual pull ups).

Are you saying the power could be browning out? I’ll put the 3.3v on the scope tomorrow morning.

This is all on a pcb with a strong solid ground plane.

Same firmware is uploaded to a different board design with same processor and similar i2c devices with no trouble. So I don’t think it’s the settings of the pins but I’ll ask the firmware engineer to double check.

thanks everyone.
 

Thread Starter

robotDR

Joined Mar 17, 2020
138
I checked the 3.3v, it’s solid.

I removed the pull up resistors and it works now.

using a BMD-341 from ublox. Maybe that module has internal pull-ups. I’ll have to look into that.

thanks everyone for looking providing suggestions!
 

Ian0

Joined Aug 7, 2020
13,097
I checked the 3.3v, it’s solid.

I removed the pull up resistors and it works now.

using a BMD-341 from ublox. Maybe that module has internal pull-ups. I’ll have to look into that.

thanks everyone for looking providing suggestions!
If it works without the pullup resistors, then there is definitely a fault.
I2C does not work without the pullup resistors.
 
Top