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 |
---|---|---|---|---|---|---|---|
327 |
0 |
32 |
4 |
363 |
67 |
67 |
|
350 |
0 |
32 |
4 |
386 |
53 |
53 |
|
270 |
0 |
32 |
4 |
306 |
48 |
48 |
|
Light switch with Zigbee FOTA |
282 |
48 |
32 |
4 |
366 |
53 |
53 |
373 |
0 |
32 |
4 |
409 |
64 |
64 |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
385 |
48 |
32 |
4 |
469 |
69 |
69 |
350 |
0 |
32 |
4 |
386 |
79 |
79 |
|
370 |
64 |
32 |
4 |
470 |
88 |
88 |
|
326 |
0 |
32 |
4 |
362 |
62 |
62 |
|
409 |
0 |
32 |
4 |
445 |
91 |
91 |
The following table lists memory requirements for samples running on the nRF52833 DK (nrf52833dk_nrf52833).
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 |
---|---|---|---|---|---|---|---|
325 |
0 |
16 |
4 |
345 |
65 |
65 |
|
348 |
0 |
16 |
4 |
368 |
51 |
51 |
|
268 |
0 |
16 |
4 |
288 |
46 |
46 |
|
Light switch with Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
370 |
0 |
16 |
4 |
390 |
62 |
62 |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
348 |
0 |
16 |
4 |
368 |
77 |
77 |
|
368 |
64 |
16 |
4 |
452 |
86 |
86 |
|
323 |
0 |
16 |
4 |
343 |
60 |
60 |
|
396 |
0 |
16 |
4 |
416 |
86 |
86 |
The following table lists memory requirements for samples running on the nRF5340 DK (nrf5340dk_nrf5340_cpuapp).
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 |
---|---|---|---|---|---|---|---|
304 |
0 |
32 |
4 |
340 |
73 |
73 |
|
327 |
0 |
32 |
4 |
363 |
60 |
60 |
|
247 |
0 |
32 |
4 |
283 |
54 |
54 |
|
Light switch with Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
296 |
0 |
32 |
4 |
332 |
63 |
63 |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
327 |
0 |
32 |
4 |
363 |
86 |
86 |
|
347 |
64 |
32 |
4 |
447 |
95 |
95 |
|
302 |
0 |
32 |
4 |
338 |
68 |
68 |
|
371 |
0 |
32 |
4 |
407 |
94 |
94 |
The following table lists memory requirements for samples running on the nR21540 DK (nrf21540dk_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 |
---|---|---|---|---|---|---|---|
330 |
0 |
32 |
4 |
366 |
67 |
67 |
|
352 |
0 |
32 |
4 |
388 |
53 |
53 |
|
273 |
0 |
32 |
4 |
309 |
48 |
48 |
|
Light switch with Zigbee FOTA |
285 |
48 |
32 |
4 |
369 |
53 |
53 |
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 |
353 |
0 |
32 |
4 |
389 |
79 |
79 |
|
373 |
64 |
32 |
4 |
473 |
89 |
89 |
|
328 |
0 |
32 |
4 |
364 |
62 |
62 |
|
411 |
0 |
32 |
4 |
447 |
91 |
91 |
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 |
|
|
|
|
---|---|---|---|---|
464 |
1024 |
1120 |
1952 |
|
688 |
1024 |
1288 |
1952 |
|
464 |
1024 |
1224 |
1952 |
The following table lists memory requirements for the nRF53 Series devices.
Sample |
|
|
|
|
---|---|---|---|---|
744 |
2048 |
1112 |
2048 |
|
744 |
2048 |
1056 |
2048 |
|
744 |
2048 |
1032 |
2048 |