Maxim Integrated 71M6513H Power Meter IC Family Software User Manual
Page 63

71M651x Software User’s Guide
count==0?
EECTRL = 0x05 (stop command)
Clear all registers
End
NO
EEDATA= *(destination++)
EECTRL = 0x03 (multiple write with ACK command)
count- -
Start
interrupt rcvd?
(INT5)
Figure 5-21: Multi-Byte Write
Notes:
•
For larger EEPROMS 1010xxR can be the first command (R=1 for read, R = 0 for write operation).
•
The START command should be sent to the EEPROM before any read or write operation
•
The algorithms cover single and multi-byte operations limited to a single page.
•
EEPROMs are organized in pages. In general, ATMEL EEPROMs have 1Kbyte per page (256 x 32 bits).
When reading, no special requirements with respect to page boundaries apply.
•
Special precautions apply when a page boundary is crossed for write operations: When the end of a page is
reached, the write.to the next page has to be preceded by a START command.
•
EEPROMs typically respond to START commands with 5ms delay.
Revision 2.4
TERIDIAN Proprietary
63 of 137
© Copyright 2005-2006 TERIDIAN Semiconductor Corporation