1
某IC datasheet 描述其I2C slave address is “1010 1000”(0xA8). It only supports write operations.
使用逻辑分析仪分析协议时,显示其 slave address为0x54,产生疑惑。
2
分析发现逻辑分析仪I2C协议解析有关于slave address display format选项,选shift时, slave address为0x54,选unshift时为0xA8
3
I2C slave address为地址字节的D7-D1位,D0位表示是读(‘1’)还是写(‘0’)。
所以,当选shift时,取前7位:“1010 100”,shift后为“0101 0100”,即 slave address为0x54,选unshift时为0xA8(写)或者0xA9(读)