Memory requirements
This page provides information about the amount of flash memory and RAM that is required by the KNX IoT samples. Use it to check if your application has enough space for a given configuration.
RAM and flash memory requirements
RAM and flash memory requirement values differ depending on the DK and the programmed sample.
The following tables and bar charts list memory requirement values for KNX IoT samples.
Memory layout is taken from the DTS files used by each sample variant, while memory usage is taken from the build output. Values are provided in kilobytes (KB).
Table columns are grouped by internal NVM, external NVM (when used), and RAM.
Application, MCUboot, upgrade slot, and RAM cells show used and free space separated by /.
Other NVM columns list the reserved partition size for that region.
Memory requirements for samples running on the nrf54lc10dk.
Light Switch Actuator (Debug)
Light Switch Actuator (Release)
Light Switch Sensor (Debug)
Light Switch Sensor (Release)
Certification (Debug)
Memory requirements for samples running on the nrf54l15dk.
Light Switch Actuator (Debug)
Light Switch Actuator (Release)
Light Switch Sensor (Debug)
Light Switch Sensor (Release)
Certification (Debug)
Memory requirements for samples running on the nrf54l15tag.
Light Switch Sensor (Debug)
Light Switch Sensor (Release)
Memory requirements for samples running on the nrf54lm20dk.
Light Switch Actuator (Debug)
Light Switch Actuator (Release)
Light Switch Sensor (Debug)
Light Switch Sensor (Release)
Certification (Debug)
The following table lists memory requirements for samples running on the nrf54lc10dk.
| Sample | Internal NVM (1012 kB) | RAM (192 kB) | ||
|---|---|---|---|---|
| MCUboot (used / free) | Application (used / free) | Settings | used / free | |
Light Switch Actuator (Debug) |
-- | 520 / 456 | 36 | 151 / 41 |
Light Switch Actuator (Release) |
-- | 384 / 592 | 36 | 177 / 15 |
Light Switch Sensor (Debug) |
-- | 466 / 510 | 36 | 137 / 55 |
Light Switch Sensor (Release) |
-- | 340 / 636 | 36 | 164 / 28 |
Certification (Debug) |
-- | 521 / 455 | 36 | 151 / 41 |
The following table lists memory requirements for samples running on the nrf54l15dk.
| Sample | Internal NVM (1524 kB) | RAM (256 kB) | ||
|---|---|---|---|---|
| MCUboot (used / free) | Application (used / free) | Settings | used / free | |
Light Switch Actuator (Debug) |
-- | 530 / 958 | 36 | 151 / 105 |
Light Switch Actuator (Release) |
-- | 386 / 1102 | 36 | 177 / 79 |
Light Switch Sensor (Debug) |
-- | 475 / 1013 | 36 | 138 / 118 |
Light Switch Sensor (Release) |
-- | 343 / 1145 | 36 | 164 / 92 |
Certification (Debug) |
-- | 530 / 958 | 36 | 151 / 105 |
The following table lists memory requirements for samples running on the nrf54l15tag.
| Sample | Internal NVM (1524 kB) | RAM (256 kB) | ||
|---|---|---|---|---|
| MCUboot (used / free) | Application (used / free) | Settings | used / free | |
Light Switch Sensor (Debug) |
-- | 467 / 1021 | 36 | 138 / 118 |
Light Switch Sensor (Release) |
-- | 343 / 1145 | 36 | 164 / 92 |
The following table lists memory requirements for samples running on the nrf54lm20dk.
| Sample | Internal NVM (2036 kB) | RAM (511 kB) | ||
|---|---|---|---|---|
| MCUboot (used / free) | Application (used / free) | Settings | used / free | |
Light Switch Actuator (Debug) |
-- | 521 / 1479 | 36 | 151 / 360 |
Light Switch Actuator (Release) |
-- | 383 / 1617 | 36 | 177 / 334 |
Light Switch Sensor (Debug) |
-- | 467 / 1533 | 36 | 138 / 373 |
Light Switch Sensor (Release) |
-- | 340 / 1660 | 36 | 164 / 347 |
Certification (Debug) |
-- | 522 / 1478 | 36 | 151 / 360 |
Note
The release configurations are built with Link-Time Optimization (LTO) and allocate a fixed-size heap.
Because of the fixed heap, the RAM usage reported for a release build can be higher than for the corresponding debug build.
Reference memory layouts
The following tables and bar charts show how the KNX IoT protocol stack architecture and KNX IoT add-on architecture software stack maps to actual memory partitions on each supported development kit. The memory values match the RAM and flash memory requirements listed above.
Each tab shows the memory maps for the development kits supported by the KNX IoT samples.
The following memory map is valid for KNX IoT samples running on the nrf54lc10dk.
The following memory map is valid for KNX IoT samples running on the nrf54l15dk.
The following memory map is valid for KNX IoT samples running on the nrf54l15tag.
The following memory map is valid for KNX IoT samples running on the nrf54lm20dk.
The following table lists memory partitions for KNX IoT samples running on the nrf54lc10dk.
Internal flash (size: 0xfd000 = 1012 kB)
| Partition | Offset | Size |
|---|---|---|
| Application | 0 (0x0) | 976 kB (0xf4000) |
| Non-volatile storage | 999424 (0xf4000) | 36 kB (0x9000) |
Static RAM (cpuapp_sram) (size: 0x2fc00 = 191 kB)
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 191 kB (0x2fc00) |
The following table lists memory partitions for KNX IoT samples running on the nrf54l15dk.
Internal flash (size: 0x17d000 = 1524 kB)
| Partition | Offset | Size |
|---|---|---|
| Application | 0 (0x0) | 1488 kB (0x174000) |
| Non-volatile storage | 1523712 (0x174000) | 36 kB (0x9000) |
Static RAM (cpuapp_sram) (size: 0x40000 = 256 kB)
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 256 kB (0x40000) |
The following table lists memory partitions for KNX IoT samples running on the nrf54l15tag.
Internal flash (size: 0x17d000 = 1524 kB)
| Partition | Offset | Size |
|---|---|---|
| Application | 0 (0x0) | 1488 kB (0x174000) |
| Non-volatile storage | 1523712 (0x174000) | 36 kB (0x9000) |
Static RAM (cpuapp_sram) (size: 0x40000 = 256 kB)
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 256 kB (0x40000) |
The following table lists memory partitions for KNX IoT samples running on the nrf54lm20dk.
Internal flash (size: 0x1fd000 = 2036 kB)
| Partition | Offset | Size |
|---|---|---|
| Application | 0 (0x0) | 2000 kB (0x1f4000) |
| Non-volatile storage | 2048000 (0x1f4000) | 36 kB (0x9000) |
Static RAM (cpuapp_sram) (size: 0x7fc00 = 511 kB)
| Partition | Offset | Size |
|---|---|---|
| Static RAM | 0 (0x0) | 511 kB (0x7fc00) |