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.

CCS/CC2640R2F: Application program size

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2650, , BLE-STACK

Tool/software: Code Composer Studio

Hello All,

I was using CC2650 (4.2 Stack) for my application and imported sample code "Simple_Peripheral" . The application memory used by base code was 31654k and a free memory for my own application was 25690k.

Now i am working with the new CC2640R2F (BLE 5.0 stack) controller and imported the "Simple_Peripheral" code which is using 93870 k and a free memory of 33106 k.

Stack Details Used Memory Free memory
CC2650 (BLE 4.2 Stack) 31654k 25690k
CC2640R2F (BLE 5.0 Stack) 93870k 33106k
CC2640R2F (BLE 4.2 Stack) 34814k 63242k

Hence porting from BLE 4.2 to BLE 5.0 isn't working regarding the memory availability for my own application.

Am i missing something in this or something that i can do to increase my available memory for my own application.

Thanks

  • Hello sagar,

    Maximum flash memory availability on CC2640R2F is with the Bluetooth 4.2 stack (BLE-Stack v3.0.1) which is mostly in ROM. With Bluetooth 5, there are more components in system flash so the application flash memory will be less.

    You can increase memory availability in simple_peripheral by disabling the display driver (set BOARD_DISPLAY_USE_UART=0) and removing any demonstration code and TI Drivers that are not required by your end product.

    Best wishes
  • Hello JXS,

    Thanks for the quick response.  I ll disable all the unwanted stuff and will update the exact free application memory available for own application using Bluetooth 5 stack.

    Thanks