Available sram

a2retro
Posts: 56
Joined: Tue Dec 01, 2015 3:09 am

Available sram

Postby a2retro » Sun Aug 07, 2016 12:28 pm

Out of the 512KB SRAM how much will be available to applications? If the the wifi/bluetooth are put into modem sleep mode does that free up more sram for applications?

edmund-huber
Posts: 15
Joined: Wed Apr 12, 2017 8:30 pm

Re: Available sram

Postby edmund-huber » Thu Jun 01, 2017 1:37 am

Out of the 512KB SRAM how much will be available to applications?
This is greatly dependent on what features you enable. When you enable features like WiFi or BLE, in addition to whatever additional code must be linked in to the binary, these features also have a measurable impact in terms of run-time allocations.

I have found that after enabling WiFi and BLE, I am left with ~220KB. After BLE and WiFi start up in code, (those run-time allocations I mentioned), I am left with about 100KB.
If the the wifi/bluetooth are put into modem sleep mode does that free up more sram for applications?
No, modem sleep is just about conserving power. The radio is turned off and on according to some criteria that haven't been very well explained - it has something to do with 802.11 power saving and the DTIM interval.

Who is online

Users browsing this forum: No registered users and 156 guests