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 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 nrf7002_ek shield)

  • nRF5340 + nRF7002 (Matter over Thread and Matter over Wi-Fi)

  • nRF52840 (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 Working with RF 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

Light Bulb (Debug)

28

895

4

16

943

233

Light Bulb (Debug with Amazon FFS)

28

897

4

16

945

233

Light Bulb (Release)

28

723

4

16

771

224

Light Bulb (Debug with DFU over SMP)

28

905

4

16

953

247

Light Switch (Debug)

28

841

4

16

889

224

Light Switch (Release)

28

679

4

16

727

214

Light Switch (Debug with DFU over SMP)

28

851

4

16

899

239

Lock (Debug)

28

860

4

16

908

224

Lock (Release)

28

680

4

16

728

215

Lock (Debug with DFU over SMP)

28

870

4

16

918

238

Template (Debug)

28

812

4

16

860

222

Template (Release)

28

657

4

16

705

213

Window Covering (Debug)

28

834

4

16

882

223

Window Covering (Release)

28

672

4

16

720

214

Window Covering (Debug with DFU over SMP)

28

844

4

16

892

237

Reference Matter memory layouts

The following sections 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.

The following tabs show 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.

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)

28kB (0x7000)

976kB (0xf4000)

mcuboot_pad

28kB (0x7000)

512B (0x200)

mcuboot_primary_app

28.5kB (0x7200)

975.5kB (0xf3e00)

Factory data (factory_data)

1004kB (0xfb000)

4kB (0x1000)

Non-volatile storage (settings_storage)

1008kB (0xfc000)

16kB (0x4000)

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)

976kB (0xf4000)

Free space (external_flash)

976kB (0xf4000)

7216kB (0x70c000)

You can generate Partition Manager’s ASCII representation of these tables by running the following command for your respective <build_target>:

west build -b <build_target> -t partition_manager_report