2023-08-30 05:30 AM
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.
Solved! Go to Solution.
2023-08-30 06:03 AM
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.
2023-08-30 06:03 AM
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.