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 |
---|---|---|---|---|---|---|---|
288 |
0 |
32 |
4 |
324 |
61 |
61 |
|
307 |
0 |
32 |
4 |
343 |
47 |
47 |
|
242 |
0 |
32 |
4 |
278 |
41 |
41 |
|
Light switch with Zigbee FOTA |
254 |
48 |
32 |
4 |
338 |
43 |
43 |
338 |
0 |
32 |
4 |
374 |
56 |
56 |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
350 |
48 |
32 |
4 |
434 |
58 |
58 |
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 |
---|---|---|---|---|---|---|---|
286 |
0 |
16 |
4 |
306 |
59 |
59 |
|
304 |
0 |
16 |
4 |
324 |
45 |
45 |
|
240 |
0 |
16 |
4 |
260 |
39 |
39 |
|
Light switch with Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
336 |
0 |
16 |
4 |
356 |
54 |
54 |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
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 |
---|---|---|---|---|---|---|---|
297 |
0 |
32 |
4 |
333 |
61 |
61 |
|
316 |
0 |
32 |
4 |
352 |
48 |
48 |
|
249 |
0 |
32 |
4 |
285 |
42 |
42 |
|
Light switch with Zigbee FOTA |
262 |
48 |
32 |
4 |
346 |
44 |
44 |
345 |
0 |
32 |
4 |
381 |
56 |
56 |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
358 |
48 |
32 |
4 |
442 |
58 |
58 |
319 |
0 |
32 |
4 |
355 |
74 |
74 |
|
338 |
64 |
32 |
4 |
438 |
82 |
82 |
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 |
---|---|---|---|---|---|---|---|
295 |
0 |
16 |
4 |
315 |
60 |
60 |
|
314 |
0 |
16 |
4 |
334 |
46 |
46 |
|
247 |
0 |
16 |
4 |
267 |
40 |
40 |
|
Light switch with Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
343 |
0 |
16 |
4 |
363 |
55 |
55 |
|
Light switch with Multiprotocol Bluetooth LE extension and Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
317 |
0 |
16 |
4 |
337 |
72 |
72 |
|
336 |
64 |
16 |
4 |
420 |
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 |
---|---|---|---|---|---|---|---|
270 |
0 |
32 |
4 |
306 |
67 |
67 |
|
288 |
0 |
32 |
4 |
324 |
54 |
54 |
|
222 |
0 |
32 |
4 |
258 |
48 |
48 |
|
Light switch with Zigbee FOTA |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
n/a |
269 |
0 |
32 |
4 |
305 |
56 |
56 |
|
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 |
|
|
|
|
---|---|---|---|---|
432 |
1024 |
1136 |
2048 |
|
432 |
1024 |
1136 |
2048 |
|
424 |
1024 |
1136 |
2048 |