2 Memory Layout and Requirements
Microchip Thread SDK Memory Layout:
The following image displays the flash and RAM layout of WBZ451, specifically for applications utilizing Microchip Thread SDK.
Memory Requiremnets:
The following table presents the Flash and RAM usage information recorded for different roles and features of the thread SDK. These values were obtained by referring to the configuration specified in the openthread_stack_config.h file and can be customized to meet the specific requirements of the application. The configuration file can be accessed from the Header Files → driver/thread/inc path.
Flash and RAM requirements of thread SDK for system-on-chip(SOC) based designs:
The following memory information is provided as a reference for scenarios with and without the CLI App. The SDK package includes IEEE 802.15.4 PHY Lib, OpenThread, Peripheral Libraries (Plibs), FreeRTOS, and other components. The default allocation for FreeRTOS Heap is 46kb and compiler optimization level is 2.
Device Type | Role | App | In Band Commissioning | Total Data Memory [KB] | Total Program Memory [KB] | |
---|---|---|---|---|---|---|
Commissioner | Joiner | |||||
FTD | Leader/Router | CLI | Yes | Yes | 94 | 407 |
MTD | End Device | CLI | NA | Yes | 84 | 329 |
FTD | Leader/Router | CLI | No | No | 94 | 392 |
MTD | End Device | CLI | NA | No | 84 | 325 |
FTD | Leader/Router | No App | Yes | Yes | 90 | 326 |
MTD | End Device | No App | NA | Yes | 79 | 262 |
FTD | Leader/Router | No App | No | No | 90 | 316 |
MTD | End Device | No App | NA | No | 79 | 259 |
Flash and RAM requirements of thread SDK for radio Co-processor (RCP) based designs:
The SDK package includes IEEE 802.15.4 PHY Lib, Part of open thread to support RCP including spinel, Peripheral Libraries (Plibs), FreeRTOS, and other components. The default allocation for FreeRTOS Heap is 46kb and compiler optimization level is 2.
Device Type | App | Total Data Memory [KB] | Total Program Memory [KB] |
---|---|---|---|
Radio Co-Processor(RCP) | rcp | 59 | 91 |