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 (in KB) for Zigbee samples.
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 |
---|---|---|---|---|---|---|---|
305 |
0 |
32 |
4 |
341 |
63 |
63 |
|
330 |
0 |
32 |
4 |
366 |
50 |
50 |
|
255 |
0 |
32 |
4 |
291 |
44 |
44 |
|
Light switch with Zigbee FOTA |
266 |
48 |
32 |
4 |
350 |
48 |
48 |
353 |
0 |
32 |
4 |
389 |
59 |
59 |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
365 |
48 |
32 |
4 |
449 |
63 |
63 |
324 |
0 |
32 |
4 |
360 |
74 |
74 |
|
343 |
64 |
32 |
4 |
443 |
83 |
83 |
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 |
---|---|---|---|---|---|---|---|
303 |
0 |
16 |
4 |
323 |
62 |
62 |
|
328 |
0 |
16 |
4 |
348 |
48 |
48 |
|
253 |
0 |
16 |
4 |
273 |
43 |
43 |
|
Light switch with Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
351 |
0 |
16 |
4 |
371 |
57 |
57 |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
322 |
0 |
16 |
4 |
342 |
72 |
72 |
|
341 |
64 |
16 |
4 |
425 |
81 |
81 |
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 |
---|---|---|---|---|---|---|---|
285 |
0 |
32 |
4 |
321 |
71 |
71 |
|
310 |
0 |
32 |
4 |
346 |
58 |
58 |
|
235 |
0 |
32 |
4 |
271 |
53 |
53 |
|
Light switch with Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
281 |
0 |
32 |
4 |
317 |
60 |
60 |
|
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 |
|
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
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:
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
Sample |
|
|
|
|
---|---|---|---|---|
440 |
1024 |
1168 |
1952 |
|
496 |
1024 |
1232 |
1952 |
|
432 |
1024 |
1272 |
1952 |