AnsweredAssumed Answered

ADE7753 ZX interrupt problem

Question asked by hunterC4 on Oct 1, 2017
Latest reply on Oct 4, 2017 by hunterC4

Hi everyone,

 

I am building an energy meter based on the ADE7753. I have been trying to calculate the Vrms ,Irms and the energy over a specific period. I am trying to use the zero crossings (ZX) interrupt to sample the Vrms and Irms at the same place every time. The problem is the ZX interrupt FLAG never gets set.This resulting in the program getting stuck in the while loop waiting for the ZX interrupt. The same is happening with the CYCEND interrupt. Is there something I could be doing wrong? 

 

The design was based on the ADE7753 Evaluation Board with Neutral used as ground. The MCU (STM32f411) communicates nicely with the ADE7753 via SPI and the reading and writing of the #raegisters works fine. (except that the MODE register changing back to default shortly after being set.)

 

I hope you can help me with this problem.

Thank you in advance. 

Outcomes