AnsweredAssumed Answered

ADE7753 Read register problem <URGENT>

Question asked by koseiwind on Apr 8, 2015
Latest reply on Apr 13, 2015 by dlath

Dear all,

 

I am working on a project to interface ADE7753 evaluation board with Arduino Uno. I understand how the SPI protocol works but i have problem reading the registers value.

 

Example:

- when i issue a read to a 8bit GAIN register, the value of the register will be 1111 1111 in binary or 255 in hex. The default value is 0x0.

- I also have problem writing to this register to change the value.

 

I have also check the output signal from arduino under oscilloscope, seems like it is working fine.

Not sure, how to check the if the signal from ADE7753 output is correct.

 

The following is the code im currently is as attached.

My pin connections:

Arduino        ADE7753 (RS Cable Pin connectors)

11(MOSI)     Pin 2(DIN)

12(MISO)     Pin 13(DOUT)

13(SCLK)     Pin 5(CLK)

10(CS)          Pin 4(CSBIN)

 

Kindly offer me some advice as this is important to me.

Thank you for your time.

Attachments

Outcomes