SLAAEN3 February 2025 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1 , MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G1519 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3519 , MSPM0L1105 , MSPM0L1106 , MSPM0L1117 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2227 , MSPM0L2227-Q1 , MSPM0L2228 , MSPM0L2228-Q1
This subsystem demonstrates how to implement Electrically Erasable Programmable Read-Only Memory (EEPROM) emulation (Type B) in the application. EEPROM emulation allows a device to emulate EEPROM in Flash memory, and make an equivalent durability similar to EEPROM. The following features are available using Flash memory:
Download the code for this example.
There are two types of EEPROM emulation libraries for MSPM0. Type A is to store one large block of data (64 bytes, 128 bytes or 256 bytes) with a Static Random Access Memory (SRAM) buffer. See the EEPROM Emulation Type A Design application note for details of the library. Type B is to store many small data items (16bit or 32bit) with item identifiers. See also the EEPROM Emulation Type B Design application note for details of the library.
This subsystem shows the usage of Type B. For the Type A subsystem, see the Emulate EEPROM With Flash (Type A) subsystem design.
Figure 1-1 shows a functional diagram of this subsystem.
This application requires Flash.
Subblock Functionality | Peripheral Use | Notes |
---|---|---|
Flash API | (1 ×) Flash | Called FLASHCTL in code |
Based on the requirements in Table 2-1, this example is compatible with the devices in Table 3-1. The corresponding EVM can be used for prototyping.
Compatible Devices | EVM |
---|---|
MSPM0Gxxxx | LP-MSPM0G3507 |
MSPM0Lxxxx | LP-MSPM0L1306 |
MSPM0Cxxxx | LP-MSPM0C1104 |
MSPM0Hxxxx | LP-MSPM0H3216 |