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.

CC2640: CC2640R2F PTM code too large

Part Number: CC2640

HI,

My customer had been using MT8852 Anritsu BLE Tester to test CC2640RF in factory and lately they had complained that the code size for the BLE Test Suite is as large as 20kb.

This is becoming an major issue in the limited flash space available in CC2640R2F. May I know if the test suite is indeed 20kB and if there is any mean to reduce it?

Thanks,

Christina

  • Hi Christina,

    Do you know which SDK version is your customer using? And also which project are they using as baseline?

    I do not think 20KB is correct, as soon as I get SDK and the project that your customer is using I'll run a quick test and provide the extra flash needed for PTM.

    Thanks,

    David
  • Hi David,

    The SDK used is :simplelink_cc2640r2_sdk_1_35_00_33 & HID_adv_remote project

    Thanks,

    Christina

  • Hi Christina,

      I used simple_peripheral and I'm measuring ~12KB

     SDK v1.35 (HCI_TL_PTM)

    simple_peripheral OoB

    simple_peripheral_PTM

    Flash (bytes)

    61,688

    73,892

    SRAM (bytes)

    10,060

    12,020

    Could you please confirm that they are using HCI_TL_PTM and the are not using DHCI_TL_FULL in build_config.opt  

     

    /* Include Transport Layer (Full or PTM) */
    /* -DHCI_TL_NONE */
    -DHCI_TL_PTM
    /* -DHCI_TL_FULL */

       Hopefully this helps.

        David