16.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 16-8. NFC SRAM Bank Mapping for 512 bytes
Offset Use Access
0x00000000–0x000001FF Main Area Bank 0 Read/Write
0x00000200–0x000003FF Spare Area Bank 0 Read/Write
0x00001200–0x000013FF Main Area Bank 1 Read/Write
0x00001400–0x000015FF Spare Area Bank 1 Read/Write
Table 16-9. NFC SRAM Bank Mapping for 1 Kbyte
Offset Use Access
0x00000000–0x000003FF Main Area Bank 0 Read/Write
0x00000400–0x000005FF Spare Area Bank 0 Read/Write
0x00001200–0x000015FF Main Area Bank 1 Read/Write
0x00001600–0x000017FF Spare Area Bank 1 Read/Write
Table 16-10. NFC SRAM Bank Mapping for 2 Kbytes
Offset Use Access
0x00000000–0x000007FF Main Area Bank 0 Read/Write
0x00000800–0x000009FF Spare Area Bank 0 Read/Write
0x00001200–0x000019FF Main Area Bank 1 Read/Write
0x00001A00–0x00001BFF Spare Area Bank 1 Read/Write
Table 16-11. NFC SRAM Bank Mapping for 4 Kbytes
Offset Use Access
0x00000000–0x00000FFF Main Area Bank 0 Read/Write
0x00001000–0x000011FF Spare Area Bank 0 Read/Write
0x00001200–0x000021FF Main Area Bank 1 Read/Write
0x00002200–0x000023FF Spare Area Bank 1 Read/Write
Table 16-12. NFC SRAM Bank Mapping for 8 Kbytes, only one bank is available
Offset Use Access
0x00000000–0x00001FFF Main Area Bank 0 Read/Write
0x00002000–0x000023FF Spare Area Bank 0 Read/Write