Hi,
I understand that the available RAM on the nRD51822 is 16k. How much of that space is reserved for the transmission/ reception of BT packets?
Thanks,
David
Hi,
I understand that the available RAM on the nRD51822 is 16k. How much of that space is reserved for the transmission/ reception of BT packets?
Thanks,
David
Have you seen this? In general, the RAM consumption of a softdevice is given in the corresponding softdevice specification, so I'd recommend you to take a look at this document for the softdevice with the capabilities you're interested in.
Edit: TX buffers are allocated as part of these 8 kB of RAM, and so is the complete GATT Table, so you don't consume anything of your application RAM for this by default. You can choose to have the values from the GATT Table in your user space RAM if wanted, but this is configurable on an attribute-to-attribute basis. The number of TX buffers available by default is 7, meaning that you can queue 7 packets for transmit, of which up to 6 will be sent per interval.
Sorry, but the documentation does not address the question.
It looks like the application needs to manage the data buffers carved out of whatever memory is left of 8k.
Is there a formula to figure out the amount of buffering required dynamically?
Thanks
Sorry I misunderstood, but taking this into account, I edited my answer a little. Let me know if anything is still unclear.