ADE7868 SPI Communication

Hello everyone,

we are experiencing some problems with SPI communication between a STM32F4 MCU and an ADE7868A.

The connection is straight between MISO, MOSI, SCK, /SS, /RESET.

We do what follows:

Set /SS high

Reset the ADE7868 toggling low /RESET for 50us

Wait 60us

Set /SS low then high for 3 times with a 5ms period

then while(1)

{

Write via SPI 0x0 in the CONFIG2 register at a speed of 650Khz more or less (we tried other speeds, too)

Read back CONFIG2

Read a registe

}