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.

LAUNCHXL-CC1350-4: ble central example

Part Number: LAUNCHXL-CC1350-4

Hello,

I'm new with all of the launchpads environments and after going over the CC13XX SDK, i found the simple_peripheral example for ble peripheral mode.

is there also an example for a simple ble central mode somewhere?

thanks,

Sharon

  • Hi Sharon,

    We have not released any examples of this for the CC1350 yet. In theory you should be able to port the Simple BLE Central example from CC2650 or CC2640R2 to CC1350.

    Cheers,
    Marie
  • Hello,

    Can you explain in detail regarding porting of CC2640R2 example to work with cc1350 launchpad.

    Thanks&Regards 

    Haricharan

  • Hi Haricharan,

    You can start looking at the .projectspec file and replacing references to CC26xx and CC2640R2 with CC1350. You can look at a CC1350 projectspec to see how the references should be.
  • Hi Marie Hernes,

    I have imported simple_peripheral example from simplelink_cc2640R2_sdk_1_40_00_45 and changed cc26xx to cc13xx and also changed the resources in compiler and linker but still i could not able to build the project with out errors. Is there any document how to port CC2640R2 project to cc1350. Any help will be appreciable.

    Thanks & Regards

    Haricharan

  • Hi Haricharan,

    We don't have any documentation on this.

    As I said I would think it's easier to do the changes to the projectspec file - this has to be done before the project is imported to CCS.

    Here is a short checklist, I can't guarantee it's complete:
    Can you please check:
    1) Correct device in Properties-> General
    2) Correct device in Properties->General->RTSC->Platform
    3) Correct Launchpad symbol in Properties-> Build-> ARM Compiler -> Advanced -> Predefined symbols
    4) Correct device family in Properties-> Build-> ARM Compiler -> Advanced -> Predefined symbols
    5) Correct device in Properties -> ARM Linker -> File Search
    6) Correct board files in the project
    7) Replace app_ble.cfg.
  • Hi Marie,

    I just wanted to understand, instead of using the cc2650r2 sdk (simplelink_cc2640r2_sdk_1_50_00_58), you suggest to use the cc1350 sdk (simplelink_cc13x0_sdk_1_60_00_21)?

    I tried to change all of those configurations but it seems that the two sdk's have different blestack files and the files just can't be compiled with the cc1350...

    Do you know if there is some specification on how the sample project was build? so i could use it for the implementation?

    Thanks,

    sharon

  • Hi Sharon,

    No I meant to use the cc2640r2 sdk (simplelink_cc2640r2_sdk_1_50_00_58).
  • Hi Sharon,

    Did you solve the problem?
  • Hi Marie,

    Not yet, I've tried couple of times in different ways (through the UI or with the config) but each time something else goes wrong.

    Probably its the lack of knowledge in the environment.

    I might just order the cc2640r2 or try to find cc2650 in order to make this work :(

    Sharon.

  • Hi Sharon,

    Sorry to hear that. I can't really give you any other advise than recommending you to start with a CC2640R2F example in the CC2640R2 SDK and doing the following changes:
    1) Correct device in Properties-> General
    2) Correct device in Properties->General->RTSC->Platform
    3) Correct Launchpad symbol in Properties-> Build-> ARM Compiler -> Advanced -> Predefined symbols
    4) Correct device family in Properties-> Build-> ARM Compiler -> Advanced -> Predefined symbols
    5) Correct device in Properties -> ARM Linker -> File Search
    6) Correct board files in the project
    7) Replace app_ble.cfg.
  • Hi Marie,

    It's just not working,,,

    I think its a good idea for TI to create a documentation on how to do this..

    a lot of old project are a great place to start from in our development process.

    Thanks

    Sharon