Datasheet

Table Of Contents
DATA
Starts at offset 0x0
Size is 512B, 1KB, 2KB, 4KB, 8KB, 16KB, 32KB, 64KB depending on SEESTAT.PSZ and
SEESTAT.SBLK (refer to “SmartEEPROM virtual size”)
This area is write protected if SEESTAT.LOCK is set. SEESTAT.LOCK is non volatile.
Commands LSEE and USEE respectively lock and unlock the SmartEEPROM.
REGISTER:
Starts at offset 0x10000
Size is 20B
This area is write protected if either
SEESTAT.LOCK is set (non-volatile)
SEESTAT.RLOCK is set (volatile).
Commands LSEER and USEER respectively lock and unlock the SmartEEPROM register address space.
As a consequence both SEESTAT.LOCK and SEESTAT.RLOCK must be low to write the SmartEEPROM
register address space.
Related Links
25.6.8.4 SmartEEPROM Virtual Size
25.6.8.3 Data Structures
The SmartEEPROM algorithm relies on two virtual sectors (SEES) physically located in the last blocks of:
BANKB if STATUS.AFIRST=1
BANKA if STATUS.AFIRST=0
Only one SEES is active at a time, the other must be erased, ready for data reallocation.
The current active SEES is indicated in SEESTAT.ASEES:
0: SEES0 is active
1: SEES1 is active
SEESTAT.ASEES is loaded after Reset from a special fuse in the NVM which can be programmed or
erased individually. This fuse can be set by issuing the ASEES1 command or cleared by issuing the
ASEES0 command. SEESTAT.ASEES reflects this change immediately.
The maximum number of virtual pages is limited to 128.
A page allocation consists of assigning a SEEP to a virtual page for the first time. A page reallocation
consists of assigning a new SEEP to an already existing virtual page. In both cases the selected virtual
page index and the next available page are written.
The SEEP size (PSZ) is configurable. The number of blocks allocated per SEES is configurable.
25.6.8.4 SmartEEPROM Virtual Size
The SmartEEPROM interface virtual size is the maximum amount of data that can be stored in it. This
defines the maximum size of this interface. Trying to read or write outside the boundaries throws an
hardfault exception.
The SBLK bits indicate the number of blocks allocated per SmartEEPROM virtual sector. The
SmartEEPROM raw data resides in the upper blocks of the NVM main address space but is not
accessible through AHB0 nor AHB1. The SmartEEPROM interface maximum size depends on
SEESTAT.PSZ and SEESTAT.SBLK:
SAM D5x/E5x Family Data Sheet
NVMCTRL – Nonvolatile Memory Controller
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 653