9.5.7 Read SRAM
The contents of the SRAM can be read back, one word at a time, starting with that of the requested address through the following sequence. This sequence can be used to verify the contents written to SRAM before an EEPROM program cycle.
- Write the most significant 5 bits of the SRAM address to R169 (MEMADR byte 1) and write the least significant 8 bits of the SRAM address to R170 (MEMADR byte 0).
- The SRAM data located at the address specified in the step above can be obtained by reading R172 (RAMDAT byte) in the same register transaction.
- Any additional read transfers that is part of the same transaction will cause the SRAM address to be auto-incremented and a subsequent read will take place at the next SRAM address.
- Byte or Block read transfers from R172 can be used to read the entire SRAM map sequentially from Byte 0 to 508 (509 bytes total).
- Access to SRAM will terminate at the end of current register transaction.