Hello,
My circuitry consists of 3 x ADE7933 managed by one ADE7978.
The analog frontend is set to only take measurements on the first voltage channel.
I can communicate perfectly fine with the ADE7978, setting up the config registers and sending the run command, verifying it by reading it back.
But when it comes to read out that data-registers, I always get seemingly random numbers.
If they only would be random, I would have thought that my circuitry is faulty, but the weird thing is, that the numbers never change. Once the PCB is powered, the data-values always stay the same, no matter what I do.
I also read-out the Temperature-registers and they also have seemingly random numbers, which only change after rebooting everything.
I debugged the circuit with a logic analyzer, to see if the ADE7933s send out data, and they do (cant debug the bitstream though).
TEMP: 2204099, 721760, 409376 VRMS: 254774461, -4600796, 50690243 ANGLE: 0, 0, 0 TEMP: 2204099, 721760, 409376 VRMS: 254774461, -4600796, 50690243 ANGLE: 0, 0, 0 TEMP: 2204099, 721760, 409376 VRMS: 254774461, -4600796, 50690243 ANGLE: 0, 0, 0 TEMP: 2204099, 721760, 409376 VRMS: 254774461, -4600796, 50690243 ANGLE: 0, 0, 0
1. First I initiate a hardware reset
2. Then I enable SPI communication by toggeling the CS pin 3 times
3. I read out the RSTDONE bit from STATUS1 register and wait for it to be =1
4. I write some data to PHNOLOAD register and read back LAST16 register, to verify that communication is working. I reset PHNOLOAD afterwards obviously
5. ANGLESEL bits in COMPMODE are set to 1 (getting angle from voltage channels)
6. Setting DREADY in MASK0 to generate interrupts
7. Flush the DSP register pipe by ANGLESEL two more times
8. Clearing STATUS0 and STATUS1 registers by setting all to 1
9. Writing 0x0001 to the RUN register and reading it back
10. reading data from AVRMS, BVRMS, CVRMS, ATEMP, BTEMP, CTEMP, ANGLE0, ANGLE1, ANGLE2


Thank you already!!!
Edit Notes
added content from question[edited by: cedric.knez@ioxlab.de at 6:56 PM (GMT -5) on 12 Nov 2020]