The following peripherals are used by the Zigbee stack and the 802.15.4 radio driver and cannot be used directly by an application:
Peripheral | Zigbee stack | 802.15.4 Radio Driver | Comment |
---|---|---|---|
TIMER1 | X | ||
TIMER3 | X | ||
RTC2 | X | ||
UART0 | X | Only for NRF_LOG over UART | |
RADIO | X | ||
RNG | X | ||
ECB | X | ||
PPI | X | Channels 0-5 for debug mode; 6-12 for driver core | |
PPI group | X | Group 0 used by driver core | |
GPIOTE | X | 2 channels selected by user: 1 for PA, 1 for LNA | |
SWI3 | X | EGU15 always; EGU0, EGU1, EGU2 for dynamic multiprotocol |
In the multiprotocol Zigbee/BLE solution additional peripherals are used by the SoftDevice. For the details please refer to the S140 SoftDevice hardware peripherals usage page.
The following figures present a typicall flash and RAM layout for an application using the Zigbee stack in single and multiprotocol scenarios.
For the details on values of APP_CODE_BASE
and APP_RAM_BASE
please refer to S140 SoftDevice memory resource map and usage.
The following table summarizes typical flash and RAM requirements for various Zigbee device types including simple user application. The values for End Device, Router, and Coordinator, were calculated based on light control example built using GCC compiler.
The values for multiprotocol Zigbee/BLE were calculated based on multiprotocol examples and include SoftDevice flash and RAM requirements.
Role | Flash [kb] | RAM [kb] | Persistent Data [kb] |
---|---|---|---|
End Device | 251 | 37 | 48 |
Router | 318 | 54 | 48 |
Coordinator | 278 | 42 | 48 |
Router + BLE | 534 | 66 | 48 |
ZED + BLE | 425 | 41 | 48 |