I use ade7858 for my energy metering project. I want to get interrupt for zero crossing in IRQ1. I write initial code for this as discribed in your documents. But IRQ1 doesnt change. can you show me the right way for initial.
One or many of the bits 9 to 14 of the MASK1 register needs to be set to 1. This enables the corresponding zero-crossing events to be made available on the IRQ1 pin. Try applying a large signal (preferably full scale: +0.5Vpeak) on the current and/or voltage channels. Initially, the IRQ1 line must be HIGH. When you get a zero-crossing on one of the voltage or current channels, you will see the IRQ1 line going LOW. You should read the STATUS1 register to see which of the events has caused the interrupt. Write to the STATUS1 register with the same value read back from it. This will make the IRQ1 line go HIGH again. Whenever another zero-crossing is observed, the same sequence of actions will follow.
Now, can you clarify in which stage you are experiencing difficulty?
Retrieving data ...