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).
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 |
---|---|---|---|---|---|---|---|
340 |
0 |
32 |
4 |
376 |
72 |
72 |
|
365 |
0 |
32 |
4 |
401 |
58 |
58 |
|
284 |
0 |
32 |
4 |
320 |
53 |
53 |
|
Light switch with Zigbee FOTA |
298 |
48 |
32 |
4 |
382 |
61 |
61 |
396 |
0 |
32 |
4 |
432 |
70 |
70 |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
411 |
48 |
32 |
4 |
495 |
78 |
78 |
360 |
0 |
32 |
4 |
396 |
84 |
84 |
|
377 |
64 |
32 |
4 |
477 |
93 |
93 |
|
340 |
0 |
32 |
4 |
376 |
67 |
67 |
|
419 |
0 |
32 |
4 |
455 |
84 |
84 |
|
437 |
0 |
32 |
4 |
473 |
93 |
93 |
The following table lists memory requirements for samples running on the nRF52833 DK (nrf52833dk).
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 |
---|---|---|---|---|---|---|---|
323 |
0 |
16 |
4 |
343 |
67 |
67 |
|
348 |
0 |
16 |
4 |
368 |
53 |
53 |
|
267 |
0 |
16 |
4 |
287 |
48 |
48 |
|
Light switch with Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
379 |
0 |
16 |
4 |
399 |
65 |
65 |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
343 |
0 |
16 |
4 |
363 |
79 |
79 |
|
360 |
64 |
16 |
4 |
444 |
88 |
88 |
|
323 |
0 |
16 |
4 |
343 |
62 |
62 |
|
402 |
0 |
16 |
4 |
422 |
78 |
78 |
|
419 |
0 |
16 |
4 |
439 |
88 |
88 |
The following table lists memory requirements for samples running on the nRF5340 DK (nrf5340dk).
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 |
---|---|---|---|---|---|---|---|
314 |
0 |
32 |
4 |
350 |
77 |
77 |
|
338 |
0 |
32 |
4 |
374 |
64 |
64 |
|
257 |
0 |
32 |
4 |
293 |
58 |
58 |
|
Light switch with Zigbee FOTA |
39 |
64 |
32 |
4 |
139 |
24 |
24 |
320 |
0 |
32 |
4 |
356 |
75 |
75 |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
336 |
64 |
32 |
4 |
436 |
87 |
87 |
332 |
0 |
32 |
4 |
368 |
90 |
90 |
|
350 |
64 |
32 |
4 |
450 |
98 |
98 |
|
313 |
0 |
32 |
4 |
349 |
72 |
72 |
|
392 |
0 |
32 |
4 |
428 |
89 |
89 |
|
410 |
0 |
32 |
4 |
446 |
98 |
98 |
The following table lists memory requirements for samples running on the nR21540 DK (nrf21540dk).
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 |
---|---|---|---|---|---|---|---|
338 |
0 |
32 |
4 |
374 |
72 |
72 |
|
363 |
0 |
32 |
4 |
399 |
58 |
58 |
|
282 |
0 |
32 |
4 |
318 |
53 |
53 |
|
Light switch with Zigbee FOTA |
297 |
48 |
32 |
4 |
381 |
61 |
61 |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
358 |
0 |
32 |
4 |
394 |
84 |
84 |
|
375 |
64 |
32 |
4 |
475 |
93 |
93 |
|
338 |
0 |
32 |
4 |
374 |
67 |
67 |
|
417 |
0 |
32 |
4 |
453 |
84 |
84 |
|
435 |
0 |
32 |
4 |
471 |
93 |
93 |
The following table lists memory requirements for samples running on the nRF52840 Dongle (nrf52840dongle_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 |
---|---|---|---|---|---|---|---|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
Light switch with Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
372 |
4 |
32 |
4 |
412 |
92 |
92 |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
|
430 |
4 |
32 |
4 |
470 |
92 |
92 |
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:
For the stack memory size of the
main
thread -CONFIG_MAIN_STACK_SIZE
For the stack memory size of the
zboss
thread -CONFIG_ZBOSS_DEFAULT_THREAD_STACK_SIZE
Values are provided in bytes (B).
The following table lists memory requirements for the nRF52 Series devices.
Sample |
|
|
|
|
---|---|---|---|---|
688 |
2048 |
984 |
2048 |
|
688 |
2048 |
984 |
2048 |
|
672 |
2048 |
984 |
2048 |
The following table lists memory requirements for the nRF53 Series devices.
Sample |
|
|
|
|
---|---|---|---|---|
756 |
2048 |
980 |
2048 |
|
756 |
2048 |
1020 |
2048 |
|
756 |
2048 |
980 |
2048 |