# AmebaD I2C I2CAckAddr is different to real address sent

**URL:** <https://forum.amebaiot.com/t/amebad-i2c-i2cackaddr-is-different-to-real-address-sent/761>\
**Category:** Hardware\
**Tags:** rtl872xd\
**Created:** [September 2, 2021, 2:56am UTC](https://forum.amebaiot.com/t/amebad-i2c-i2cackaddr-is-different-to-real-address-sent/761 "2021-09-02T02:56:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lhxzui](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@lhxzui](https://forum.amebaiot.com/u/lhxzui)\
**Post date:** [September 2, 2021, 2:56am UTC](https://forum.amebaiot.com/t/amebad-i2c-i2cackaddr-is-different-to-real-address-sent/761/1 "2021-09-02T02:56:12Z")

</div>

Using SDK sample I2C dual\_master, I find the config slave address in IC\_TAR(bit9:0), I2CAckAddr, is different to real address sent.  
When IC\_TAR(bit9:0) is 0x23(same to SDK sample), the real slave address sent is 0x47.  
When IC\_TAR(bit9:0) is 0x29, the real slave address sent is 0x53.  
I can not find the cause of the problem. Is there some one use I2C? Please share your experience. Thanks.

---

<div class="post-metadata">

**Author:** ![wyy](https://avatars.discourse-cdn.com/v4/letter/w/bc8723/32.png) [@wyy](https://forum.amebaiot.com/u/wyy)\
**Post date:** [September 2, 2021, 7:01am UTC](https://forum.amebaiot.com/t/amebad-i2c-i2cackaddr-is-different-to-real-address-sent/761/2 "2021-09-02T07:01:12Z")

</div>

I2C address only has 7 bits, the LSB is used to indicate master read / write, which is why `0x23 << 1 = 0x47` and `0x29 << 1 = 0x53`

---

<div class="post-metadata">

**Author:** ![lhxzui](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@lhxzui](https://forum.amebaiot.com/u/lhxzui)\
**Post date:** [September 2, 2021, 7:13am UTC](https://forum.amebaiot.com/t/amebad-i2c-i2cackaddr-is-different-to-real-address-sent/761/3 "2021-09-02T07:13:51Z")

</div>

I see. Thank you.
