4
\$\begingroup\$

I want to understand how much RAM and flash I have available for my own program memory and program space after I incorporate the overhead of Bluetooth communication when using an nRF51822.

https://infocenter.nordicsemi.com/index.jsp?topic=/struct_nrf51/struct/s110.html

\$\endgroup\$
1
  • 2
    \$\begingroup\$ it's still called BLE \$\endgroup\$
    – hassan789
    Sep 4, 2014 at 2:42

1 Answer 1

4
\$\begingroup\$

As of this writing (Sept 2014), the S110 v7 softdevice uses 88 kB flash and 8 kB of static RAM for S110 leaving 168 kB of flash and 8 kB of RAM for the application (for the 256k chip). Also note that S110 v7 can use over 1.5 kB of stack, so you must make sure that your stack is big enough to accomodate both this and your application's requirement.

Lastly, when you use the S110, it also restricts many of the Programmable Peripheral Interconnect (PPI) channels, leaving on 8 channels free for the application code. This restricts how you implemet peripherals such as PWM and I2C.

enter image description here

enter image description here

Read the latest SoftDevice Specification (currently v1.3)

\$\endgroup\$
4
  • 1
    \$\begingroup\$ can you post a direct link to the nordic site (e.g. somewhere more reputable?) \$\endgroup\$
    – tarabyte
    Sep 4, 2014 at 18:42
  • \$\begingroup\$ you will have to make an account with nordic to see this document \$\endgroup\$
    – hassan789
    Sep 4, 2014 at 18:44
  • \$\begingroup\$ @tarabyte, I've updated the link to point to the correct documention on the Nordic site directly. \$\endgroup\$
    – wovano
    Nov 22, 2020 at 10:43
  • \$\begingroup\$ @hassan789, no Nordic account is needed (anymore?) to view this document \$\endgroup\$
    – wovano
    Nov 22, 2020 at 10:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.