I am working on 3-phase power meter development.
I designed the hardware using ADE7880. But due to component shortage, the lead time for purchasing ADE7880 was 2~3 weeks. So I decided to use ADE7878, which was quicker to purchase.
I thought there would be no issue for driving ADE7880 or ADE7878, because it was just I2C communication. But I faced to an issue immediately after started working with the prototype. I could not find the I2C address information in datasheets.
After some searching, I found a similar project SmartPi and there was the I2C address on Line 44 of ade7878.go
file.
It was 0x38
.
I also found a forum thread "Reading ADE7880 Registers with Arduino using I2C".
Here, the address of ADE7880 was also 0x38
.
I scanned the I2C bus and I could see two addresses:
Address | Device |
---|---|
0x48 |
Is this ADE7878? |
0x68 |
Correct result from DS1307 RTC on my board |
I attached some pictures for reference.
So, my questions are:
- What is the correct I2C address of these chips and where is it documented?
- If it was
0x38
as I found on third-party sources, what is possible reason of myi2cdetect
's result -0x48
?