3.2.17.4.1 NFC SRAM Mapping

If the NFC is used to read and write data from and to the NAND Flash, the configuration depends on the page size (HSMC_CFG.PAGESIZE field). See the tables below for detailed mapping.

The NFC can handle the NAND Flash with a page size of 8 Kbytes or lower (2 Kbytes, for example). In case of a 4 Kbyte or lower page size, the NFC SRAM can be split into two banks. The HSMC_BANK.BANK bit is used to select where NAND Flash data are written or read. For an 8 Kbyte page size, this field is not relevant.

Note that a “Ping-Pong” mode (write or read to a bank while the NFC writes or reads to another bank) is accessible with the NFC (using two different banks).

If the NFC is not used, the NFC SRAM can be used for a general purpose by the application.

Table 3-8. NFC SRAM Bank Mapping for 512 bytes
OffsetUseAccess
0x00000000–0x000001FFMain Area Bank 0Read/Write
0x00000200–0x000003FFSpare Area Bank 0Read/Write
0x00001200–0x000013FFMain Area Bank 1Read/Write
0x00001400–0x000015FFSpare Area Bank 1Read/Write
Table 3-9. NFC SRAM Bank Mapping for 1 Kbyte
OffsetUseAccess
0x00000000–0x000003FFMain Area Bank 0Read/Write
0x00000400–0x000005FFSpare Area Bank 0Read/Write
0x00001200–0x000015FFMain Area Bank 1Read/Write
0x00001600–0x000017FFSpare Area Bank 1Read/Write
Table 3-10. NFC SRAM Bank Mapping for 2 Kbytes
OffsetUseAccess
0x00000000–0x000007FFMain Area Bank 0Read/Write
0x00000800–0x000009FFSpare Area Bank 0Read/Write
0x00001200–0x000019FFMain Area Bank 1Read/Write
0x00001A00–0x00001BFFSpare Area Bank 1Read/Write
Table 3-11. NFC SRAM Bank Mapping for 4 Kbytes
OffsetUseAccess
0x00000000–0x00000FFFMain Area Bank 0Read/Write
0x00001000–0x000011FFSpare Area Bank 0Read/Write
0x00001200–0x000021FFMain Area Bank 1Read/Write
0x00002200–0x000023FFSpare Area Bank 1Read/Write
Table 3-12. NFC SRAM Bank Mapping for 8 Kbytes, only one bank is available
OffsetUseAccess
0x00000000–0x00001FFFMain Area Bank 0Read/Write
0x00002000–0x000023FFSpare Area Bank 0Read/Write