Tool/software:
Hello,
The datasheet mentions that the I2C address pin is sampled on every bus communication. When does this occur? Is it when the host device begins a transmission?
Thank you!
Best regards,
Zach Kimble
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.
Tool/software:
Hello,
The datasheet mentions that the I2C address pin is sampled on every bus communication. When does this occur? Is it when the host device begins a transmission?
Thank you!
Best regards,
Zach Kimble
Hi Zach,
Yes the I2C address pins are sampled at the beginning of every transmission.
Best,
Mallika Senthil
Hi Clemens and Mallika,
Thank you both for your responses. So the device receives the start signal on the bus, then it starts and finishes sampling the address pin before the 7 bit address is done being sent on the bus so it can respond in time with an ACK if it is the device being addressed?
Best regards,
Zach Kimble
A start condition is a falling edge on SDA while SCL is high. It's possible that the address pin detects this falling edge, so for practical purposes, the sampling starts just before the start condition. It's also possible that the address pin looks for later changes on SDA/SCL.
Why are you asking this question? The address can be changed at any time, but there is no guarantee what happens when you do this in the middle of an address byte.
Hi Zach,
In addition to Clemens' response, please see the following E2E thread:
https://e2e.ti.com/support/amplifiers-group/amplifiers/f/amplifiers-forum/398732/ina226---i2c-address-selection-mechanism
Best,
Mallika Senthil