Relationship betwen sink current and ability to pull the line low

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 3K views
maverick202
Messages
2
Reaction score
0
Hi,
I am trying to program an I2C interface and it's not working. The master is TI Cortex M3 processor and slave is ST Compass. I have captured the scope pictures and found that slave is not bringing the data line all the way to ground and this is violating I2C spec. I have sent the scope picture to TI. The reply I got was to verify the sink current on the slave as it may effect the slave's ability to bring the line low. Both ends have open-drain with 1.1K pullup.

Can someone please explain the relationship between sink current and the ability to pull the line low.

Thanks.
 
Engineering news on Phys.org
maverick202 said:
Hi,
I am trying to program an I2C interface and it's not working. The master is TI Cortex M3 processor and slave is ST Compass. I have captured the scope pictures and found that slave is not bringing the data line all the way to ground and this is violating I2C spec. I have sent the scope picture to TI. The reply I got was to verify the sink current on the slave as it may effect the slave's ability to bring the line low. Both ends have open-drain with 1.1K pullup.

Can someone please explain the relationship between sink current and the ability to pull the line low.

Thanks.

The max sink current capability will determine how big the voltage drop can be across the pullup resistor. So if you can only sink 1mA and have a 1.1kOhm pullup, you will get a 1.1V drop across the pullup resistor (so the low output voltage value will only be Vcc - 1.1V).

What is the max sink current specified in the datasheet for your slave?
 
Thanks Berkeman that's a great explanation. According to slave spec, max sink current is 3 mA. Wit 1.1K it should be 3.3mA. This explains the reason for not reaching ground. I should play with pullup resistors.