27.5.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 size depends on SEESTAT.PSZ and SEESTAT.SBLK:

Table 27-6. SmartEEPROM Virtual Size in Bytes
SmartEEPROM Virtual Size (Bytes) (SEESTAT.SBLK, SEESTAT.PSZ) Valid Combination
512 (1,0)
1024 (1,1)
2048 (1,2)
4096 (1,3)
8192 (2,4)
16384 (3,5)
32768 (5,6)
65536 (10,7)
Note:
  1. If SEESTAT.SBLK = 0, no space is reserved for the SmartEEPROM.
  2. All other values are reserved.