I have communicated with ADE7758 with my Host MCU.
SPI Works fine and to Read/Write Default Values. From HOST ADE7758 to Host MCU.
I am giving 0 to +/- 500mV to Voltage and 0 to +/- 500mV to Current channel(s)
And able to read xVRMS and xIRMS resgiter.
I have able to read xWATTHR with
1) LCYCMODE Register , RSTREAD =1 Default Mode
2) LCYCMODE Register , RSTREAD =0, LWATT = 1 and LINECYC = 0x10.
But I am unable to understand ..
1)How to Convert xWATTHR in to real Watt. With Line Accumulation or With RSTREAD in Default.
2) Or If suppose, AVRMS = 0x1243412 and AIRMS = 0xCBCD12. What should be in AWATTHR Register.
Using Equations 66,67,68 in rev E of the datasheet are good for getting LSB/Wh type values using line cycle accumulation, but there's no guidance for how to get the xWG, xVAG, xVARG values _without_ using frequency outputs.
The whole win of using linecycle accumulation mode is surely that we don't need to use frequency outputs and compare them to another frequency output.
Have you got any guidance on working out the _nominal_ xWATTHR -> Wh/lsb based on system design (voltage divider and CT ration) so that you can work out both the WH/LSB _and_ the gain calibration?