The contents of the EEPROM can be read out, one word at a time, starting with that of the requested address. The following details the programming sequence for an EEPROM read by address:
- Write the most significant 9th bit of the EEPROM address in R139.0 and write the least significant 8 bits of the EEPROM address in R140.
- The EEPROM data located at the address specified
in the step above can be obtained by reading R141 in the same I2C
transaction. Any additional access that is part of the same transaction causes
the EEPROM address to be incremented and a read occurs at the next EEPROM
address. Access to EEPROM terminates at the end of current I2C
transaction.
Note:
Incrementing EEPROM
addresses incorrectly is possible when 2 successive accesses are made to
R140.