Resistive Random Access Memory (RRAM) is a type of non-volatile memory which is going to replace FLASH and OTP memory in MXS22 platform.
RRAM is configured as NVM(512KB) + Extra(16KB) region. NVM memory region is further divided into MAIN (code), Em_EEPROM, SupMEM (Supervisory), and PROTECTED sub regions. The 16KB is RRAM extra area and is partitioned into lower 14KB as OTP region and the highest 2KB as configuration space region. OTP region is further divided into PROTECTED_OTP (including BootRow and UDS), General OTP data and BISR SRAM repair OTP regions.
RRAM driver provides API's to Read/Write from/to RRAM memory, Enable/Disable RRAM sleep mode, Write protection. The functions and other declarations used in this driver are in cy_rram.h You can include cy_pdl.h to get access to all functions and declarations in the PDL.h
The RRAM driver provides the API to read and write to RRAM memory. No configuration is needed.
Refer to the technical reference manual (TRM) and the device datasheet.
API Reference | |
| Macros | |
| Enums | |
| Functions | |