Hello all
what is ROM and RAM setting for S130 SD_Ver_2.0.1.I am using nrf51422 Device could please tell me
Thanks Ameer
Hello all
what is ROM and RAM setting for S130 SD_Ver_2.0.1.I am using nrf51422 Device could please tell me
Thanks Ameer
Hi Ameer!
Take a look in the S130 SoftDevice Specification v2.0 for the memory resource requirements for flash/ram.
You can also take a look at this tutorial for additional information.
Best regards,
Joakim.
Hi Joakim,
I use the example "Blue central / BLE Multi-link Example" with S130 SDK 12.3.0. What I can not understand is the RAM setting:
SD v2.0 needs 5064 bytes of RAM and Stack needs 2K bytes of RAM and HEAP = 0. This is how the setting should be:
IRAM1 start = 0x200017C8 and size = 0x6838
why is the setting in the example (see photo)?
IRAM1 start = 0x20005040 and size = 0x2FC0
Many Thanks
Best regards
oat
The multi-link example has much higher RAM requirements than base to allow more concurrent connections.
How was this setting for the exampe calculated? If I only want 2 connections, how much RAM should I reserve for it?
Check the sd_ble_enable() API call, which can tell you exactly. Note that it may be enough to turn on debug output, as the default is to print a log message when RAM is set too large (and error message if too small).
I've done it.
- CENTRAL_LINK_COUNT = 8 => RAM start = 0x20003c78 (not 0x20005040 as example setting) and RAM Size = 0x4388
- CENTRAL_LINK_COUNT = 2 => RAM start = 0x20002368and RAM Size = 0x5c98
Thank you very much for your help!
I've done it.
- CENTRAL_LINK_COUNT = 8 => RAM start = 0x20003c78 (not 0x20005040 as example setting) and RAM Size = 0x4388
- CENTRAL_LINK_COUNT = 2 => RAM start = 0x20002368and RAM Size = 0x5c98
Thank you very much for your help!