Hi,
I'm working with the ADE7978 and trying to get the overcurrent detection to work. My issue is that when setting the OILVL register to a relatively high value the interrupt is still triggered. My IxWV registers show a value corresponding to >=-0.07 and <=0.07A (the raw register value for ~0.07A is about 0x960) but my OILVL register is set far beyond this level. I've verified that the OI bit is set in the STATUS1 register, so I know that it's the overcurrent detection that's triggering the interrupt (also when leaving the OILVL register to its default value the interrupt is no longer triggered).
Any input would be greatly appreciated :)
Thanks,
Daniel