This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

yaml set to 448K ram

Why does the nrf5340dk_nrf5340_cpuapp.yaml contain a ram setting of 448?  Is that incorrect?

Parents
  • Hi Jordan,

    The reason why you see only 448, not 512, is because 64kB of SRAM is allocated to the shared memory between nRF5340 CPUNET and nRF5430 CPUAPP(both secure and non-secure). The shared memory is used for Inter-core communication.

    64kB is the default size of the shared memory region. This size can be adjusted.

    Checking out the board folder for nRF5340 DK is one way to learn more, for example these two files: 

    \v1.6.1\zephyr\boards\arm\nrf5340dk_nrf5340\nrf5340_shared_sram_planning_conf.dts

    \v1.6.1\zephyr\boards\arm\nrf5340dk_nrf5340\nrf5340_cpuapp_partition_conf.dts

    Best regards,

    Håkon

  • Just for clarity, shouldn't that be enumerated in the dts files?  

    Thanks for the answer.

Reply Children
No Data
Related