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, the programmed sample, and the ZBOSS stack version.

ZBOSS stack production version

The following tables list memory requirement values (in KB) for Zigbee samples for the production version of the ZBOSS Zigbee stack.

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

288

0

32

4

324

61

61

Light bulb

307

0

32

4

343

47

47

Light switch

242

0

32

4

278

41

41

Light switch with Zigbee FOTA

254

48

32

4

338

43

43

Light switch with Multiprotocol Bluetooth LE extension

338

0

32

4

374

56

56

Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA

350

48

32

4

434

58

58

ZBOSS stack development version

The following tables list memory requirement values (in KB) for Zigbee samples running for the development version of the ZBOSS Zigbee stack.

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

297

0

32

4

333

61

61

Light bulb

316

0

32

4

352

48

48

Light switch

249

0

32

4

285

42

42

Light switch with Zigbee FOTA

262

48

32

4

346

44

44

Light switch with Multiprotocol Bluetooth LE extension

345

0

32

4

381

56

56

Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA

358

48

32

4

442

58

58

NCP

319

0

32

4

355

74

74

NCP with USB transport

338

64

32

4

438

82

82

Stack memory requirements

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

Sample

main thread stack usage

main thread stack size

zboss thread stack usage

zboss thread stack size

Network coordinator

432

1024

1136

2048

Light bulb

432

1024

1136

2048

Light switch

424

1024

1136

2048