Skip to main content
Senior
August 30, 2023
Solved

ATM90E26_STM32G491RE_SPI Unable to read current values

  • August 30, 2023
  • 1 reply
  • 1287 views

Hello,

I am trying to read voltage, current and frequency from ATM90E26 IC using STM32G491 with SPI communication. I am getting voltage values correctly.

1.But while reading frequency value If I give 100 Hz I am receiving 50 Hz.
2.While reading current values I am getting always zero value.

3.While reading Metering Status register I am getting Meter Status as:E400 or 2400 but From Hardware side its configures as L line mode but from Metering Status register I am getting anti-tampering mode (larger power)
with N line. Is it effecting the current measurement?
4. I am reading Irms register value(L line mode) for current measurement. I am always getting zero value.If I read Irms2(N line current rms) I am getting some value other than zero and its not changing If I change input current also.
5. I read Status register I got E001 value.
6.check sum error means what do I need to do to solve the error?

Can anyone please suggest me how to solve the issues.

Thanks in advance.

This topic has been closed for replies.
Best answer by TDK

It feels like this is more of a ATM90E26 usage question, not STM32. Perhaps look at some example code and use that as a basis.

1 reply

TDK
TDKBest answer
August 30, 2023

It feels like this is more of a ATM90E26 usage question, not STM32. Perhaps look at some example code and use that as a basis.

"If you feel a post has answered your question, please click ""Accept as Solution""."