I've got 3 ADE9078 and am using STM32 to read the resampled voltage waveform from the waveform buffer. It works well on the first chip but gets crashed on the latter two chips (the software is exactly the same). To be specific, most obtained data tend to be very close to decimal zero(like 0xFFFE or 0x0002, but the expected value is around 220V), a few data may even exceed the full scale which is 18100(0x46B4) according to the datasheet, and a few data seem normal. The SPI function is supposed to be OK because I can read other data like IRMS and VRMS smoothly on these two chips.
The related settings are listed below:
And I noticed that the overlay serial numbers of the chips are different:
Does the overlay number on the top represents the hardware version? If so, is there a chance that my problem is due to an upgrade of the chip? If not, is there something I ignored when using the waveform buffer that may cause the problem?
Thanks for your time in advance.