Machine-translated by Google. Questions are authored in English.
Top

Discussion

A design's I2C bus works with one sensor and fails when a second identical sensor is added. The cause is

  • A.the acknowledgement bit being lost on the longer bus
  • B.both sensors responding to the same fixed address
  • C.the bus capacitance exceeding the pull-up's ability
  • D.the master being unable to support two slaves

Answer: B

Correct answer: both sensors responding to the same fixed address

I2C selects a device by address, so two identical parts with the same fixed address both answer at once and corrupt the data and acknowledgement. The usual remedies are a part with address-select pins, a second I2C bus, or an I2C multiplexer. Bus capacitance and acknowledgement timing are real problems on longer buses but would not appear as a clean failure on adding a second identical device.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.