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 ZBOSS 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

338

0

32

4

374

71

71

Light bulb

362

0

32

4

398

58

58

Light switch

283

0

32

4

319

52

52

Light switch with Zigbee FOTA

298

48

32

4

382

60

60

Light switch with Multiprotocol Bluetooth LE extension

390

0

32

4

426

70

70

Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA

405

48

32

4

489

78

78

NCP

358

0

32

4

394

84

84

NCP with USB transport

377

64

32

4

477

93

93

Zigbee application template

337

0

32

4

373

66

66

Zigbee shell

425

0

32

4

461

88

88

Zigbee shell over USB

447

0

32

4

483

97

97

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).

The following table lists memory requirements for the nRF52 Series devices.

Sample

main thread stack usage

main thread stack size

zboss thread stack usage

zboss thread stack size

Network coordinator

624

2048

1080

1984

Light bulb

664

2048

1112

1984

Light switch

616

2048

1112

2048