AnsweredAssumed Answered

How to Convert values read from i2c registers

Question asked by nsktechguy on Jun 18, 2018
Latest reply on Jun 25, 2018 by ValeriaToff

Hi Everyone,

 

I just started with ADE7880 evaluation kit. I am trying to read AVrms Voltage using external microcontroller and evaluation board. I am using i2c as interface. 

 

To the evaluation board I connected 230V AC to phase A channel and gave 3.3V DC to P9. And on board microcontroller part was powered up with USB Power. JP21 was short in order to bypass the on board microcontroller and to use external microcontroller. 

 

So after all the connections are done, I am reading the 0x43C1 memory register using i2c for AVrms value. I am getting 4 bytes of data as 0xA4, 0xC5, 0xFF, 0xFF. So I just want to know how to convert these bytes into Decimal format to get actual reading. 

Outcomes