osyed
Newbie level 4

Hello everyone,
I am working on a project which involves metering. For this purpose I am using single phase energy metering chip STPM10 from STMicroelectronics. I have successfully interfaced it with the microcontroller via SPI interface and I can read the Vrms Irms and Line Frequency by reading the internal registers of STPM10. There are four internal registers which contain 20bits energy up/down counters. I want to ask here if someone has experience with working with this device and can help me in obtaining the energy values from the device by using a sample code if possible it would be very helpful to me.
Thank you in advance.
Best regards,
Owais.
I am working on a project which involves metering. For this purpose I am using single phase energy metering chip STPM10 from STMicroelectronics. I have successfully interfaced it with the microcontroller via SPI interface and I can read the Vrms Irms and Line Frequency by reading the internal registers of STPM10. There are four internal registers which contain 20bits energy up/down counters. I want to ask here if someone has experience with working with this device and can help me in obtaining the energy values from the device by using a sample code if possible it would be very helpful to me.
Thank you in advance.
Best regards,
Owais.