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