Guidelines to reduce the size of sram0_shared for Bluetooth apps on nRF5340

HI, I'm writing firmware on the nRF5340 that uses both the app core and the net core. The firmware uses Bluetooth, so the net core runs hci_rpmsg and "talks" to the app core via IPC using the sram0_shared memory area. The size of this memory area seems to be 64kB for all the nRF5340-based boards in the Zephyr repository. Judging from the git logs, that size seems to have been there since the first commit of the nrf5340dk_nrf5340 target. However, that feels like a lot of memory, and since I can use all the RAM I can get on the app core, I was wondering if I can reduce it, but I don't know how low I can go. I'm using Bluetooth to connect with some simple sensors and for firmware updates, nothing fancy. Does anybody have some experience with this? Besides the obvious "keep on reducing it until something breaks" Slight smile
Thank you.

Parents Reply Children
No Data
Related