This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

What is the approximate Flash memory and RAM usage by the BLE stack?

Hi,

I would like to know what the approximate Flash memory and RAM usage by nRF51 chipset would be when using the BLE communication (Let's say I want to send and receive 2 Bytes at 10 HZ) so that I know how big my code size can be in practice and how much RAM is free for other computations.

Thanks

Parents
  • ROM usage is not approximate - it is exactly specified in softdevice specification (and example projects), different for each softdevice. For RAM usage - for older SoftDevices (S110/S120) value is fixed (also specified in specification and examples). For newest softdevice s13x v 2.0.0 it is calculated in the moment of enabling it - just connect some debug output (RTT/UART) and check the value on terminal... it varies of SD configuration how much ram it would need. sd_ble_enable returns information about RAM.

Reply
  • ROM usage is not approximate - it is exactly specified in softdevice specification (and example projects), different for each softdevice. For RAM usage - for older SoftDevices (S110/S120) value is fixed (also specified in specification and examples). For newest softdevice s13x v 2.0.0 it is calculated in the moment of enabling it - just connect some debug output (RTT/UART) and check the value on terminal... it varies of SD configuration how much ram it would need. sd_ble_enable returns information about RAM.

Children
No Data
Related