This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2L: BLE5 Stack

Part Number: CC2640R2L


Hello everyone,

I'm building an app on top of BLE5 simple peripheral. Simple peripheral alone takes up a huge amount of Flash space, basically it leaves only 4kB for my app, and the space runs out as soon as I initialize something like ADC Buffer or I2C. Is there a way to use ROM to reduce the space BLE5 stack takes up?

  • Hi,

    I confirm BLE5 stack on CC2640R2L leaves very short amount of space to the application. When used with BLE5Stack, CC2640R2L is recommended for very small applications. 

    ROM - which stands for Read Only Memory - is written when the device is made in our factories. After that, there are absolutely no way to overwrite it. The BLE Stack and TIRTOS leverage the ROM. However, there is no way to store the application code in ROM.

    In your case, I would recommend one of the following approaches:

    - migrate to a device with a larger flash. CC2642R and CC2651R3 could be some good options.

    - assess if BLE 5 features are required. If not, use the BLEStack on CC2640R2L rather than BLE5Stack

    - leverage  this piece of documentation to find ways to reduce the flash used

    I hope this will help,

    Best regards,