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:
SEESTAT.SBLK | SEESTAT.PSZ | |||||||
---|---|---|---|---|---|---|---|---|
4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
1 | 512 | 1024 | 2048 | 4096 | 4096 | 4096 | 4096 | 4096 |
2 | 512 | 1024 | 2048 | 4096 | 8192 | 8192 | 8192 | 8192 |
3 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 16384 | 16384 |
4 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 16384 | 16384 |
5 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 32768 |
6 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 32768 |
7 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 32768 |
8 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 32768 |
9 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 65536 |
10 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 65536 |
- The italic cells indicate sub-optimal configurations, unnecessary blocks are allocated.
- The bold cells indicate optimal valid configurations with the maximum number of SEEP depending on SEESTAT.PSZ and SEESTAT.SBLK .