Zigbee memory requirements

This page provides information about the amount of flash memory and RAM that is required by Zigbee samples, as well as stack memory requirements for main and zboss threads. Use it to check if your application has enough space for a given configuration. Values are provided for development and production libraries.

Samples were built using the available ZBOSS Zigbee stack. Unless stated otherwise, the default prj.conf was used.

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 Zigbee samples.

Values are provided in kilobytes (KB). n/a indicates that the sample with the given variant is not supported on the DK.

The following table lists memory requirements for samples running on the nRF52840 DK (nrf52840dk_nrf52840).

Sample

ROM, ZBOSS stack + App

ROM, MCUboot bootloader

ROM, ZBOSS non-volatile memory

ROM, ZBOSS product config

Total ROM

RAM, ZBOSS stack + App

Total RAM

Network coordinator

305

0

32

4

341

63

63

Light bulb

330

0

32

4

366

50

50

Light switch

255

0

32

4

291

44

44

Light switch with Zigbee FOTA

266

48

32

4

350

48

48

Light switch with Multiprotocol Bluetooth LE extension

353

0

32

4

389

59

59

Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA

365

48

32

4

449

63

63

NCP

324

0

32

4

360

74

74

NCP with USB transport

343

64

32

4

443

83

83

Stack memory requirements

The following table lists stack memory requirement values for main and zboss threads. These measurements were carried out with Thread analyzer, using the following Kconfig options for configuration:

Values are provided in bytes (B).

Sample

main thread stack usage

main thread stack size

zboss thread stack usage

zboss thread stack size

Network coordinator

440

1024

1168

1952

Light bulb

496

1024

1232

1952

Light switch

432

1024

1272

1952