The register data can be written to the SRAM by any of three methods:
- Register Commit Method
- Uses the REGCOMMIT bit to enable the automatic transfer (mapping) of the active registers to SRAM.
- Modifies the SRAM and EEPROM by using the contents of the active registers.
- Does not require knowledge of the SRAM and EEPROM mapping.
- Cannot be used to modify the following EEPROM fields: TARGET_ADR_MSB and EEREV.
- Recommended for most applications and when pre-programming the device.
- Direct Writes Method
- Requires direct and manual writes to each SRAM address.
- Modifies the SRAM and EEPROM without writing to the active register space, which allows the device to continue normal operation without disruption.
- Requires knowledge of the SRAM and EEPROM mapping.
- Can be used to modify the following EEPROM fields: TARGET_ADR_MSB and EEREV.
- Recommended when programming the EEPROM in-system (such as for a version update) to avoid output interruption.
- Recommended when overwriting all of the SRAM.
- Mixed Method (Register Commit and Direct Writes)
- Recommended when only modifying select fields in SRAM, such as the TARGET_ADR_MSB and EEREV.
- Not recommended when overwriting all of the SRAM through the Direct Writes method.