Matter hardware and memory requirements
Hardware that runs Matter protocol applications must meet specification requirements, including providing the right amount of flash memory and being able to run Bluetooth LE and Thread or Wi-Fi concurrently.
Supported SoCs
Currently the following SoCs from Nordic Semiconductor are supported for use with the Matter protocol:
nRF5340 (Matter over Thread and Matter over Wi-Fi through the
nrf7002ek
shield)nRF5340 + nRF7002 (Matter over Thread and Matter over Wi-Fi)
nRF52840 (Matter over Thread)
nRF54L15 (Matter over Thread)
Front-End Modules
SoCs from Nordic Semiconductor that can run the Matter protocol over Thread can also work with external Front-End Modules. For more information about the FEM support in the nRF Connect SDK, see Developing with Front-End Modules and nRF21540 DK.
External flash
For the currently supported SoCs, you must use an external memory with at least 1 MB of flash for nRF52840 and 1.5MB for nRF5340. This is required to perform the DFU operation.
The development kits for the supported SoCs from Nordic Semiconductor are supplied with the MX25R64 type of external flash that meets these memory requirements. However, it is possible to configure the SoCs with different QSPI or SPI memory if it is supported by Zephyr. For this purpose, check the reference design for Nordic DKs for information about how to connect the external memory with SoC, specifically whether the pins are designed for the QSPI or the high-speed SPIM operations.
RAM and flash memory requirements
RAM and flash memory requirement values differ depending on the DK and the programmed sample.
The following tables list memory requirement values for Matter samples.
Values are provided in kilobytes (KB).
The following table lists memory requirements for samples running on the nRF52840 DK (nrf52840dk/nrf52840).
Sample |
MCUboot ROM |
Application ROM |
Factory data |
Settings |
Total ROM |
Total RAM (incl. static HEAP) |
---|---|---|---|---|---|---|
Light Bulb (Debug) |
28 |
793 |
4 |
32 |
857 |
184 |
Light Bulb (Debug + LTO) |
28 |
730 |
4 |
32 |
794 |
188 |
Light Bulb (Release) |
28 |
693 |
4 |
32 |
757 |
178 |
Light Switch (Debug) |
28 |
758 |
4 |
32 |
822 |
175 |
Light Switch (Debug + LTO) |
28 |
693 |
4 |
32 |
757 |
179 |
Light Switch (Release) |
28 |
657 |
4 |
32 |
721 |
168 |
Lock (Debug) |
28 |
771 |
4 |
32 |
835 |
178 |
Lock (Debug + LTO) |
28 |
705 |
4 |
32 |
769 |
182 |
Lock (Release) |
28 |
658 |
4 |
32 |
722 |
172 |
Smoke CO Alarm (Debug) |
28 |
746 |
4 |
32 |
810 |
176 |
Smoke CO Alarm (Debug + LTO) |
28 |
682 |
4 |
32 |
746 |
180 |
Smoke CO Alarm (Release) |
28 |
647 |
4 |
32 |
711 |
170 |
Template (Debug) |
28 |
712 |
4 |
32 |
776 |
173 |
Template (Debug + LTO) |
28 |
653 |
4 |
32 |
717 |
177 |
Template (Release) |
28 |
619 |
4 |
32 |
683 |
167 |
Thermostat (Debug) |
28 |
762 |
4 |
32 |
826 |
174 |
Thermostat (Debug + LTO) |
28 |
695 |
4 |
32 |
759 |
178 |
Thermostat (Release) |
28 |
655 |
4 |
32 |
719 |
167 |
Window Covering (Debug) |
28 |
743 |
4 |
32 |
807 |
174 |
Window Covering (Debug + LTO) |
28 |
679 |
4 |
32 |
743 |
178 |
Window Covering (Release) |
28 |
644 |
4 |
32 |
708 |
168 |
The following table lists memory requirements for samples running on the nRF5340 DK (nrf5340dk/nrf5340/cpuapp).
Sample |
MCUboot ROM |
Application ROM |
Factory data |
Settings |
Total ROM |
Total RAM (incl. static HEAP) |
---|---|---|---|---|---|---|
Bridge (Debug + LTO) |
32 |
654 |
4 |
32 |
722 |
205 |
Bridge (Release) |
32 |
638 |
4 |
32 |
706 |
197 |
Light Bulb (Debug) |
32 |
723 |
4 |
32 |
791 |
193 |
Light Bulb (Debug + LTO) |
32 |
661 |
4 |
32 |
729 |
197 |
Light Bulb (Release) |
32 |
621 |
4 |
32 |
689 |
186 |
Light Switch (Debug) |
32 |
688 |
4 |
32 |
756 |
184 |
Light Switch (Debug + LTO) |
32 |
623 |
4 |
32 |
691 |
188 |
Light Switch (Release) |
32 |
585 |
4 |
32 |
653 |
176 |
Lock (Debug) |
32 |
701 |
4 |
32 |
769 |
188 |
Lock (Debug + LTO) |
32 |
635 |
4 |
32 |
703 |
192 |
Lock (Release) |
32 |
585 |
4 |
32 |
653 |
181 |
Smoke CO Alarm (Debug) |
32 |
675 |
4 |
32 |
743 |
185 |
Smoke CO Alarm (Debug + LTO) |
32 |
612 |
4 |
32 |
680 |
189 |
Smoke CO Alarm (Release) |
32 |
575 |
4 |
32 |
643 |
179 |
Template (Debug) |
32 |
641 |
4 |
32 |
709 |
183 |
Template (Debug + LTO) |
32 |
583 |
4 |
32 |
651 |
186 |
Template (Release) |
32 |
546 |
4 |
32 |
614 |
175 |
Thermostat (Debug) |
32 |
691 |
4 |
32 |
759 |
183 |
Thermostat (Debug + LTO) |
32 |
626 |
4 |
32 |
694 |
187 |
Thermostat (Release) |
32 |
583 |
4 |
32 |
651 |
176 |
Window Covering (Debug) |
32 |
672 |
4 |
32 |
740 |
183 |
Window Covering (Debug + LTO) |
32 |
610 |
4 |
32 |
678 |
187 |
Window Covering (Release) |
32 |
572 |
4 |
32 |
640 |
176 |
The following table lists memory requirements for samples running on the Thingy:53 (thingy53/nrf5340).
Sample |
MCUboot ROM |
Application ROM |
Factory data |
Settings |
Total ROM |
Total RAM (incl. static HEAP) |
---|---|---|---|---|---|---|
Weather Station (Debug) |
64 |
734 |
16 |
48 |
862 |
236 |
Weather Station (Debug + LTO) |
64 |
664 |
16 |
48 |
792 |
240 |
Weather Station (Release) |
64 |
599 |
16 |
48 |
727 |
210 |
The following table lists memory requirements for samples running on the nRF7002 DK (nrf7002dk/nrf5340/cpuapp).
Sample |
MCUboot ROM |
Application ROM |
Factory data |
Settings |
Total ROM |
Total RAM (incl. static HEAP) |
---|---|---|---|---|---|---|
Bridge (Debug + LTO) |
48 |
825 |
4 |
32 |
909 |
305 |
Bridge (Release) |
48 |
835 |
4 |
32 |
919 |
297 |
Light Bulb (Debug) |
48 |
909 |
4 |
32 |
993 |
298 |
Light Bulb (Debug + LTO) |
48 |
829 |
4 |
32 |
913 |
302 |
Light Bulb (Release) |
48 |
814 |
4 |
32 |
898 |
290 |
Light Switch (Debug) |
48 |
918 |
4 |
32 |
1002 |
299 |
Light Switch (Debug + LTO) |
48 |
836 |
4 |
32 |
920 |
303 |
Light Switch (Release) |
48 |
822 |
4 |
32 |
906 |
290 |
Lock (Debug + LTO) |
48 |
848 |
4 |
32 |
932 |
303 |
Lock (Release) |
48 |
747 |
4 |
32 |
831 |
295 |
Template (Debug) |
48 |
876 |
4 |
32 |
960 |
297 |
Template (Debug + LTO) |
48 |
800 |
4 |
32 |
884 |
301 |
Template (Release) |
48 |
788 |
4 |
32 |
872 |
289 |
Thermostat (Debug) |
48 |
923 |
4 |
32 |
1007 |
298 |
Thermostat (Debug + LTO) |
48 |
840 |
4 |
32 |
924 |
302 |
Thermostat (Release) |
48 |
821 |
4 |
32 |
905 |
290 |
The following table lists memory requirements for samples running on the nRF54L15 DK (nrf54l15dk/nrf54l15/cpuapp).
Sample |
MCUboot ROM |
Application ROM |
Factory data |
Settings |
Total ROM |
Total RAM (incl. static HEAP) |
---|---|---|---|---|---|---|
Light Bulb (Debug) |
48 |
812 |
4 |
40 |
904 |
194 |
Light Bulb (Debug + LTO) |
48 |
745 |
4 |
40 |
837 |
195 |
Light Bulb (Release) |
48 |
710 |
4 |
40 |
802 |
187 |
Light Switch (Debug) |
48 |
776 |
4 |
40 |
868 |
185 |
Light Switch (Debug + LTO) |
48 |
707 |
4 |
40 |
799 |
186 |
Light Switch (Release) |
48 |
673 |
4 |
40 |
765 |
177 |
Lock (Debug) |
48 |
789 |
4 |
40 |
881 |
188 |
Lock (Debug + LTO) |
48 |
719 |
4 |
40 |
811 |
189 |
Lock (Release) |
48 |
674 |
4 |
40 |
766 |
181 |
Smoke CO Alarm (Debug) |
48 |
764 |
4 |
40 |
856 |
186 |
Smoke CO Alarm (Debug + LTO) |
48 |
697 |
4 |
40 |
789 |
186 |
Smoke CO Alarm (Release) |
48 |
664 |
4 |
40 |
756 |
179 |
Template (Debug) |
48 |
731 |
4 |
40 |
823 |
183 |
Template (Debug + LTO) |
48 |
668 |
4 |
40 |
760 |
184 |
Template (Release) |
48 |
636 |
4 |
40 |
728 |
176 |
Thermostat (Debug) |
48 |
780 |
4 |
40 |
872 |
184 |
Thermostat (Debug + LTO) |
48 |
710 |
4 |
40 |
802 |
185 |
Thermostat (Release) |
48 |
673 |
4 |
40 |
765 |
176 |
Window Covering (Debug) |
48 |
760 |
4 |
40 |
852 |
184 |
Window Covering (Debug + LTO) |
48 |
694 |
4 |
40 |
786 |
185 |
Window Covering (Release) |
48 |
660 |
4 |
40 |
752 |
177 |
The following table lists memory requirements for samples running on the nRF54L15 DK with CMSE enabled (nrf54l15dk/nrf54l15/cpuapp/ns).
Sample |
MCUboot ROM |
Application ROM |
Factory data |
Settings |
Total ROM |
Total RAM (incl. static HEAP) |
---|---|---|---|---|---|---|
Light Bulb (Debug) |
48 |
749 |
4 |
40 |
841 |
178 |
Light Switch (Debug) |
48 |
713 |
4 |
40 |
805 |
169 |
Lock (Debug) |
48 |
725 |
4 |
40 |
817 |
173 |
Template (Debug) |
48 |
674 |
4 |
40 |
766 |
168 |
Template (Release) |
48 |
580 |
4 |
40 |
672 |
161 |
Thermostat (Debug) |
48 |
717 |
4 |
40 |
809 |
168 |
Window Covering (Debug) |
48 |
697 |
4 |
40 |
789 |
168 |
Note
The results for Link-Time Optimization (LTO)
are based on building the Thread library from sources.
If you use the binary Thread library version, the ROM usage may be higher.
Reference Matter memory layouts
The following tabs show how the Matter stack architecture in the nRF Connect SDK translates to actual memory maps for each of the available Matter platform designs (System-on-Chip, multiprotocol). The memory values match RAM and flash memory requirements listed above.
Each tab shows the memory maps for the development kits supported by the Matter protocol, including two memory maps for the Thingy:53: Matter weather station, which uses Nordic Thingy:53.
For more information about configuration of memory layouts in Matter, see Partition layout.
The following memory map is valid for Matter applications running on the nRF52840 DK (nrf52840dk/nrf52840).
- Internal flash (size: 0x100000 = 1024kB)
Partition
Offset
Size
Partition elements
Element offset
Element size
Bootloader (mcuboot)
0kB (0x0)
28kB (0x7000)
Application (mcuboot_primary/app)
28kB (0x7000)
960kB (0xf0000)
mcuboot_pad
28kB (0x7000)
512B (0x200)
mcuboot_primary_app
28.5kB (0x7200)
959.5kB (0xefe00)
Factory data (factory_data)
988kB (0xf7000)
4kB (0x1000)
Non-volatile storage (settings_storage)
992kB (0xf8000)
32kB (0x8000)
- SRAM primary (size: 0x40000 = 256kB)
SRAM is located at the address
0x20000000
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
Static RAM (sram_primary)
0kB (0x0)
256kB (0x40000)
- External flash (size: 0x800000 = 8192kB)
Partition
Offset
Size
Partition elements
Element offset
Element size
Application DFU (mcuboot_secondary)
0kB (0x0)
960kB (0xf0000)
Free space (external_flash)
960kB (0xf0000)
7232kB (0x710000)
The following memory map is valid for Matter applications running on the nRF5340 DK (nrf5340dk/nrf5340/cpuapp).
- Application core flash (size: 0x100000 = 1024kB)
Partition
Offset
Size
Partition elements
Element offset
Element size
MCUboot bootloader (mcuboot)
0kB (0x0)
32kB (0x8000)
Application (mcuboot_primary/app)
32kB (0x8000)
956kB (0xef000)
mcuboot_pad
32kB (0x8000)
512B (0x200)
mcuboot_primary_app
32.5kB (0x8200)
955.5kB (0xeee00)
Factory data (factory_data)
988kB (0xf7000)
4kB (0x1000)
Non-volatile storage (settings_storage)
992kB (0xf8000)
32kB (0x8000)
- Application core SRAM primary (size: 0x80000 = 512kB)
SRAM is located at the address
0x20000000
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
Peripheral CPU DFU (PCD) (pcd_sram)
0kB (0x0)
8kB (0x2000)
Static RAM (sram_primary)
8kB (0x2000)
440kB (0x6e000)
Network core shared memory (rpmsg_nrf53_sram)
448kB (0x70000)
64kB (0x10000)
- External flash (size: 0x800000 = 8192kB)
Partition
Offset
Size
Partition elements
Element offset
Element size
Application DFU (mcuboot_secondary)
0kB (0x0)
956kB (0xef000)
Network Core DFU (mcuboot_secondary_1)
956kB (0xef000)
256kB (0x40000)
Free space (external_flash)
1212kB (0x12f000)
6980kB (0x6d1000)
- Network core flash (size: 0x40000 = 256kB)
The network core flash is located at the address
0x1000000
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
B0n bootloader (b0n_container)
0kB (0x0)
34kB (0x8800)
b0n
0kB (0x0)
33.375kB (0x8580)
provision
33.375kB (0x8580)
640B (0x280)
Network application (app)
34kB (0x8800)
222kB (0x37800)
multiprotocol_rpmsg
34kB (0x8800)
222kB (0x37800)
- Network core SRAM (size: 0x10000 = 64kB)
SRAM is located at the address
0x21000000
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
Static RAM (sram_primary)
0kB (0x0)
64kB (0x10000)
- One-Time-Programmable region of UICR (size: 0x2fc = 764B)
OTP is located at the address
0xff8100
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
OTP Memory (otp)
0kB (0x0)
764B (0x2fc)
The following memory map is valid for the Matter weather station application running on the Thingy:53 (thingy53_nrf5340).
The values are valid for the debug
and release
build types.
- Application core flash (size: 0x100000 = 1024kB)
Partition
Offset
Size
Partition elements
Element offset
Element size
MCUboot bootloader (mcuboot)
0kB (0x0)
64kB (0x10000)
Application (mcuboot_primary/app)
64kB (0x10000)
896kB (0xe0000)
mcuboot_pad
64kB (0x10000)
512B (0x200)
mcuboot_primary_app
64.5kB (0x10200)
895.5kB (0xdfe00)
Non-volatile storage (settings_storage)
960kB (0xf0000)
64kB (0x10000)
- Application core SRAM primary (size: 0x80000 = 512kB)
SRAM is located at the address
0x20000000
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
Peripheral CPU DFU (PCD) (pcd_sram)
0kB (0x0)
8kB (0x2000)
Static RAM (sram_primary)
8kB (0x2000)
440kB (0x6e000)
Network core shared memory (rpmsg_nrf53_sram)
448kB (0x70000)
64kB (0x10000)
- External flash (size: 0x800000 = 8192kB)
Partition
Offset
Size
Partition elements
Element offset
Element size
Application DFU (mcuboot_secondary)
0kB (0x0)
896kB (0xe0000)
Network Core DFU (mcuboot_secondary_1)
896kB (0xe0000)
256kB (0x40000)
Free space (external_flash)
1152kB (0x120000)
7040kB (0x6e0000)
- Network core flash (size: 0x40000 = 256kB)
The network core flash is located at the address
0x1000000
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
B0n bootloader (b0n_container)
0kB (0x0)
34kB (0x8800)
b0n
0kB (0x0)
33.375kB (0x8580)
provision
33.375kB (0x8580)
640B (0x280)
Network application (app)
34kB (0x8800)
222kB (0x37800)
multiprotocol_rpmsg
34kB (0x8800)
222kB (0x37800)
- Network core SRAM flash (size: 0x10000 = 64kB)
SRAM is located at the address
0x21000000
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
Static RAM (sram_primary)
0kB (0x0)
64kB (0x10000)
- One-Time-Programmable region of UICR (size: 0x2fc = 764B)
OTP is located at the address
0xff8100
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
OTP Memory (otp)
0kB (0x0)
764B (0x2fc)
The following memory map is valid for the Matter weather station application running on the Thingy:53 (thingy53_nrf5340).
The values are valid for the factory_data
build type.
- Application core flash (size: 0x100000 = 1024kB)
Partition
Offset
Size
Partition elements
Element offset
Element size
MCUboot bootloader (mcuboot)
0kB (0x0)
64kB (0x10000)
Application (mcuboot_primary/app)
64kB (0x10000)
896kB (0xe0000)
mcuboot_pad
64kB (0x10000)
512B (0x200)
mcuboot_primary_app
64.5kB (0x10200)
895.5kB (0xdfe00)
Non-volatile storage (settings_storage)
960kB (0xf0000)
60kB (0xf000)
Factory data (factory_data)
1020kB (0xff000)
4kB (0x1000)
- Application core SRAM primary (size: 0x80000 = 512kB)
SRAM is located at the address
0x20000000
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
Peripheral CPU DFU (PCD) (pcd_sram)
0kB (0x0)
8kB (0x2000)
Static RAM (sram_primary)
8kB (0x2000)
440kB (0x6e000)
Network core shared memory (rpmsg_nrf53_sram)
448kB (0x70000)
64kB (0x10000)
- External flash (size: 0x800000 = 8192kB)
Partition
Offset
Size
Partition elements
Element offset
Element size
Application DFU (mcuboot_secondary)
0kB (0x0)
896kB (0xe0000)
Network Core DFU (mcuboot_secondary_1)
896kB (0xe0000)
256kB (0x40000)
Free space (external_flash)
1152kB (0x120000)
7040kB (0x6e0000)
- Network core flash (size: 0x40000 = 256kB)
The network core flash is located at the address
0x1000000
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
B0n bootloader (b0n_container)
0kB (0x0)
34kB (0x8800)
b0n
0kB (0x0)
33.375kB (0x8580)
provision
33.375kB (0x8580)
640B (0x280)
Network application (app)
34kB (0x8800)
222kB (0x37800)
multiprotocol_rpmsg
34kB (0x8800)
222kB (0x37800)
- Network core SRAM flash (size: 0x10000 = 64kB)
SRAM is located at the address
0x21000000
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
Static RAM (sram_primary)
0kB (0x0)
64kB (0x10000)
- One-Time-Programmable region of UICR (size: 0x2fc = 764B)
OTP is located at the address
0xff8100
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
OTP Memory (otp)
0kB (0x0)
764B (0x2fc)
The following memory map is valid for Matter applications running on the nRF7002 DK (nrf7002dk).
- Application core flash (size: 0x100000 = 1024kB)
Partition
Offset
Size
Partition elements
Element offset
Element size
MCUboot bootloader (mcuboot)
0kB (0x0)
48kB (0xc000)
Application (mcuboot_primary/app)
48kB (0xc000)
940kB (0xeb000)
mcuboot_pad
48kB (0xc000)
512B (0x200)
mcuboot_primary_app
48.5kB (0xc200)
939.5kB (0xeae00)
Factory data (factory_data)
988kB (0xf7000)
4kB (0x1000)
Non-volatile storage (settings_storage)
992kB (0xf8000)
32kB (0x8000)
- Application core SRAM primary (size: 0x80000 = 512kB)
SRAM is located at the address
0x20000000
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
Peripheral CPU DFU (PCD) (pcd_sram)
0kB (0x0)
8kB (0x2000)
Static RAM (sram_primary)
8kB (0x2000)
440kB (0x6e000)
Network core shared memory (rpmsg_nrf53_sram)
448kB (0x70000)
64kB (0x10000)
- External flash (size: 0x800000 = 8192kB)
Partition
Offset
Size
Partition elements
Element offset
Element size
Application DFU (mcuboot_secondary)
0kB (0x0)
940kB (0xeb000)
Network Core DFU (mcuboot_secondary_1)
940kB (0xeb000)
256kB (0x40000)
Free space (external_flash)
1196kB (0x12b000)
6996kB (0x6d5000)
- Network core flash (size: 0x40000 = 256kB)
The network core flash is located at the address
0x1000000
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
B0n bootloader (b0n_container)
0kB (0x0)
34kB (0x8800)
b0n
0kB (0x0)
33.375kB (0x8580)
provision
33.375kB (0x8580)
640B (0x280)
Network application (app)
34kB (0x8800)
222kB (0x37800)
hci_ipc
34kB (0x8800)
222kB (0x37800)
- Network core SRAM flash (size: 0x10000 = 64kB)
SRAM is located at the address
0x21000000
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
Static RAM (sram_primary)
0kB (0x0)
64kB (0x10000)
- One-Time-Programmable region of UICR (size: 0x2fc = 764B)
OTP is located at the address
0xff8100
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
OTP Memory (otp)
0kB (0x0)
764B (0x2fc)
The following memory map is valid for Matter applications running on the nRF54L15 DK (nrf54l15dk/nrf54l15/cpuapp).
Application core flash (size: 0x17D000 = 1524kB)
Partition
Offset
Size
Partition elements
Element offset
Element size
Bootloader (mcuboot)
0kB (0x0)
48kB (0xC000)
Application (mcuboot_primary/app)
28kB (0x7000)
960kB (0xf0000)
mcuboot_pad
48kB (0xC000)
2048B (0x800)
mcuboot_primary_app
50kB (0xc800)
1438kB (0xefe00)
Factory data (factory_data)
1488kB (0x174000)
4kB (0x1000)
Non-volatile storage (settings_storage)
1492kB (0x175000)
32kB (0x8000)
- Application core SRAM primary (size: 0x40000 = 256kB)
SRAM is located at the address
0x20000000
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
Static RAM (sram_primary)
0kB (0x0)
256kB (0x40000)
The following table lists memory requirements for samples running on the nRF54L15 DK with CMSE enabled (nrf54l15dk/nrf54l15/cpuapp/ns).
Application core flash (size: 0x17D000 = 1524kB)
Partition
Offset
Size
Partition elements
Element offset
Element size
Bootloader (mcuboot)
0kB (0x0)
48kB (0xC000)
Secure part (tfm_secure)
48kB (0xc000)
128kB (0x20000)
mcuboot_pad
48kB (0xc000)
2k (0x800)
tfm
50kB (0xc800)
126kB (0x1f800)
Non-Secure part (tfm_nonsecure)
176kB (0x2C000)
1272kB (0x13E000)
app
176kB (0x2C000)
1272kB (0x13E000)
Factory data (factory_data)
1448kB (0x16A000)
4kB (0x1000)
Non-volatile storage (settings_storage)
1452kB (0x16B000)
40kB (0xa000)
TFM storage (tfm_storage)
1492kB (0x175000)
32kB (0x8000)
tfm_its
8kB (0x175000)
8kB (0x2000)
tfm_otp_nv_counters
8kB (0x177000)
8kB (0x2000)
tfm_ps
16kB (0x179000)
16kB (0x4000)
- Application core SRAM primary (size: 0x40000 = 256kB)
SRAM is located at the address
0x20000000
in the memory address space of the application.Partition
Offset
Size
Partition elements
Element offset
Element size
Secure Static RAM (sram_secure)
0kB (0x0)
256kB (0xF000)
Non-Secure Static RAM (sram_nonsecure)
256kB (0xF000)
196kB (0x31000)
You can generate Partition Manager’s ASCII representation of these tables by running the following command for your respective board_target:
west build -b board_target -t partition_manager_report
For example, for the nrf7002dk/nrf5340/cpuapp
board target, the command is as follows:
west build -b nrf7002dk/nrf5340/cpuapp -t partition_manager_report
Diagnostic logs RAM memory requirements
Diagnostic logs support requires changing the RAM memory layout by adding three retained RAM partitions to keep the log data persistent across device reboots. The Diagnostic logs snippet adds these RAM partitions, and also reduces the amount of SRAM available for the application by the size of the retained partitions. You can adjust the retained partitions for your needs by editing the Diagnostic logs snippet devicetree file for the relevant board.
The following tabs show the RAM memory layout defined for the default configuration of the Diagnostic logs snippet for each development kit.
The following RAM memory layout is valid for Matter applications running on the nRF52840 DK (nrf52840dk_nrf52840).
Base Application core SRAM size (size: 0x40000 = 256kB)
SRAM is located at the address 0x20000000
in the memory address space of the application.
Partition
Offset
Size
Application Core SRAM primary
0 (0x0)
248,8125kB (0x3E340)
Crash retention
248,8125kB (0x3E340)
192B (0xC0)
Network Logs retention
249kB (0x3E400)
6k (0x1800)
User Data Logs retention
255kB (0x3FC00)
1k (0x400)
The following RAM memory layout is valid for Matter applications running on the nRF5340 DK (nrf5340dk/nrf5340/cpuapp).
Application core SRAM primary (size: 0x80000 = 512kB)
SRAM is located at the address 0x20000000
in the memory address space of the application.
Partition
Offset
Size
Application Core SRAM primary
0 (0x0)
504,8125kB (0x7E340)
Crash retention
504,8125kB (0x7E340)
192B (0xC0)
Network Logs retention
505kB (0x7E400)
6k (0x1800)
User Data Logs retention
511kB (0x7FC00)
1k (0x400)
The following RAM memory layout is valid for Matter applications running on the nRF7002 DK (nrf7002dk).
Application core SRAM primary (size: 0x80000 = 512kB)
SRAM is located at the address 0x20000000
in the memory address space of the application.
Partition
Offset
Size
Application Core SRAM primary
0 (0x0)
504,8125kB (0x7E340)
Crash retention
504,8125kB (0x7E340)
192B (0xC0)
Network Logs retention
505kB (0x7E400)
6k (0x1800)
User Data Logs retention
511kB (0x7FC00)
1k (0x400)
The following RAM memory layout for the Matter weather station application running on the Thingy:53 (thingy53_nrf5340).
Application core SRAM primary (size: 0x80000 = 512kB)
SRAM is located at the address 0x20000000
in the memory address space of the application.
Partition
Offset
Size
Application Core SRAM primary
0 (0x0)
504,8125kB (0x7E340)
Crash retention
504,8125kB (0x7E340)
192B (0xC0)
Network Logs retention
505kB (0x7E400)
6k (0x1800)
User Data Logs retention
511kB (0x7FC00)
1k (0x400)
The following RAM memory layout is valid for Matter applications running on the nRF54L15 DK (nrf54l15dk/nrf54l15/cpuapp).
Base SRAM size (size: 0x40000 = 256kB)
SRAM is located at the address 0x20000000
in the memory address space of the application.
Partition
Offset
Size
Application Core SRAM primary
0 (0x0)
248,8125kB (0x3E340)
Crash retention
248,8125kB (0x3E340)
192B (0xC0)
Network Logs retention
249kB (0x3E400)
6k (0x1800)
User Data Logs retention
255kB (0x3FC00)
1k (0x400)