I'm having trouble correctly resetting an ADE7816. I have two different scenarios:
1. When power is plugged, there is no problem, I successfully communicates with it (I2C) after the reset procedure.
2. However, when I reset my MCU (without removing power), the reset procedure does not seem to have an effect on the ADE7816.
Here is what I do whenever I try to initialize the ADE7816:
At this point, from my understanding, I should wait for IRQ1 to fall which would signal me that ADE7816 is ready for communication.
In the case 1., I can see the IRQ1 going high then low and everything is fine after that.
But in case 2., the IRQ1 stays low and ADE7816 does not engage in I2C communication.
Can anyone help me ?
I 'm not sure what specific information I should provide, so please do not hesitate if you need any.
Hi cbonniot. You query has been queued please wait for the answer in the forum.Thank you very much.
Can you use a scope on the reset line is going low.
Do you have a 5M resistor across the crystal see Figure 41. Crystal Circuit of the datasheet https://www.analog.com/media/en/technical-documentation/data-sheets/ADE7816.pdf
Thank you for your answer, I'm sorry for the lateness of my answer, I expected to receive an email when an answer was posted but I did not !
To answer your questions:
* Yes I can use a scope to monitor the reset line, I'll join a picture of it
* No we did not mount the resistor as it was only recommended and we thought it was not necessary in our case.However, we can mount one for test purposes if you think it is a good lead !
Thank you !
Yes the 5M resistor is a good idea and recommended. This resistor sets the mid point for the buffer. Under some conditions the oscillator is not generating digital clocks internally even if the osc is running.