Tuesday, February 1, 2011

Ashley's Week 2 Report

This Week: I learned about the serial interface communication with the ADE7763.  I read about it on the datasheet itself as well as found a handful of examples and a partial library online.  First you have to place the ADE7763 in communication mode.  This occurs when you power on or toggling the RESET pin low and having a falling edge on the CS pin.  Regardless of whether you want to read or write to the ADE7763, you have to first send it a "write" to its communication register. The communication register is 8-bits.  The MSB determines whether the next data transfer is a read or write.  Bit 7 should be left alone (0).  The LSBs will contain the address of the register to be accessed.  There's a table with all of the addresses of the registers.  For example, the address for the RMS voltage is 0x17.  Therefore the entire binary string sent to the ADE7763 would be: 00010111.  The data transfer is complete when the LSB of the ADE7763 register being addressed is transfered to the ADE7763, and it once again enters communication mode.

Next week: I will continue working on test code for the ADE7763 communication as well as starting to research the communication with the ethernet connection.

1 Comments:

At June 25, 2012 at 6:24 AM , Blogger Hesham Abdelmohsein said...

Hi friend,
I'm also working on ADE7763 .. did you find any helpful application note for it?

I dunno why I can't receive more thank one byte from it.

Can we chat on gmail?

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home