ADE9153A is the latest single phase energy measurement IC with mSure self-calibration. This library specifically targets the EV-ADE9153ASHIELDZ shield evaluation board.
There is example code available in the examples section.
To make the evaluation board easy to use, the library has some registers defined with non-default values.
When using this ADE9153A library be sure to include both ADE9153A.h and ADE9153AAPI.h.
Register definitions are found in the ADE9153AAPI.h. Be sure that these definitions are set up correctly for the applications, especially ADE9153A_ACCMODE which must be setup for 50Hz or 60Hz systems.
The hardware has flexibility to use both 3.3V and 5V with the proper modifications as described in the EV-ADE9153ASHIELDZ User Guide.
For the simplest layout the IAN and IAP were reversed compared to the test circuit in the ADE9153A Data Sheet. This means that a negative gain must be applied to AIGAIN, which can be seen in the example code.
Feelfree to ask any questions on EngineerZone