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/LAUNCHXL-CC2650: Why most example pages on https://github.com/ti-simplelink/ble_examples down

Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CC2650, CC2642R, CC2640R2F, CC2652R, LAUNCHXL-CC26X2R1, CC2650MODA

Tool/software: Code Composer Studio

Hi there,

why the other examples are deleted and only for one MCU is the example available?

i'm starting with my first TI MCU and the examples are for beginners complex to start first with porting an example to fit in the MCU which i want to use.

ok maybe it is only my opinion.

best

Ralf

  • Hi Ralf,

    Are you referring to the table under the "Introduction" section? If that is the case, the reason for "missing links" is because there is only links for the currently selected SDK. Based on which device and SDK you are using, different examples are available (the link that is the SDK name should point you to the correct branch). 

    As for using CC2650, I would recommend you instead look into using the CC2640R2F, CC2642R or CC2652R based on your expected application. The reason for this is because these devices are supported with the latest SimpleLink SDK while the CC2650 is not. For CC2650 you only get the old legacy SDK and examples.

  • Hello M-W,

    thanks for the fast reply.

    Yes i meant the missing links.

    For the CC2650 I can't even find the Project_Zero. Not even as described in the SimpleLink Academy.
    But I would be most interested in the SPP over BLE example (the simple serial socket) for the LaunchXL-CC2650.

    But I would also like to see a fully customized simple serial socket example for the LaunchXL-CC26x2R1.
    If somebody has ported it to one of the devices, please let me know, where i can download it, with all needed prerequisites to build it successfully.
    regards
    Ralf
  • Hi Ralf,

    Project_zero was never hosted on the github project, it was part of the SLA training (which unfortunately is a bit hard to find these days). There is a SPP example on GitHub for the TI BLE-Stack SDK v2.2.x SDK which should work for the CC2650.

    The "Simple Serial Socket" example will never be ported down to the old SDK used by the CC2650. The closest device that got support for this is the CC2640R2F.

    Also, I don't fully understand what you mean with a "fully customized" version of the Simple Serial Socket example. These are basically already as simple as they could possible be, implementing one service with a few user APIs and using the UART driver to source/sink data over the air.

  • Hello M-W,

    with fully customized i meant: a out of the box compilable an runnable project. i downloaded some, where some files were missing for some reason.

    as i allready said : i'm a beginner in TI's MCUs. If you are a professional from TI, you seem to work very often with the IDE, and the products.

    In former times i used 8-Bit AVR µC later i have worked as Windows Embedded Software Developer and since two months, i changed back to µC. Most time i use PIC32 now. But for an actual project we searched for an MCU with Bluetooth LE. So we recognized the CC2650MODA (as module with antenna integrated) caused by the specs and the small size.

    I allready had getting started problems with the IDE, caused by the needed Internetconnection without proxy and Firewall, to work correctly. Now most of the examples, which are interesting for me seems to not exists for my LaunchXL-CC2650 or LaunchXL-CC26x2R1. 

    Even if they exists, there is another SDK used as the IDE installs, and so i didnt get it working, because i have no idea what i have to change at which position in the IDE settings. Thats why i'm often frustrated. So often paths did not fit for my settings. Folders in new SDKs does not exist, as given in the path settings in projects for the Launchpads. permanently i have a yellow or red remark at my project folder. That's why i did not think it is so simple. :-(

    cheers

    Ralf 

  • Hi Ralf,

    It is OK to be a beginner, just stating the fact that we (TI) will most likely never port the "Simple Serial Socket" examples etc. down to CC2650 as it has very limited support as of today.

    Maybe you could comment on which IDE you are using, take the LaunchXL-CC26x2R1 development board as an example, the Simple Serial Socket example exists for both the free "Code Composer Studio" IDE and IAR.

    All of these examples should be able to be compiled and downloaded as is, you would however need to follow the instructions "Installation" and "Required Toolls" section as the github files them self expects that you have the correct IDE as well as the correct SDK installed on your device.

    So to run for example "Simple Serial Socket" on the CC26x2R1 LaunchPad, you would first need to download and install the SDK for this device:

    http://www.ti.com/tool/SIMPLELINK-CC13X2-26X2-SDK

    If you want to avoid having to figure a lot of dependencies out, it is recommended to install it to the default path (C:/ti).

    You then need to download the correct GitHub (which ever way to prefer, cloning, ZIP file, thumb drives) project. In this case there is only a version for the 3.20 SDK but you should be fine running on the 3.40 SDK: 

    https://github.com/ti-simplelink/ble_examples/tree/simplelink_cc13x2_26x2_sdk-3.20

    If this does not work, feel free to post screen captures of the errors you see when importing and compiling the example.

  • Thank you M-W,

    for this really detailed explanation.

    i will try it. 

    to answer your Question: i use both Launchpads (LaunchXL-CC2650 or LaunchXL-CC26x2R1) in combination with the CCS 9.3.0.00012 IDE.

    One further Question: If there is an example (e.g. "Simple Serial Socket" on the CC26x2R1 LaunchPad") which uses SimpleLink CC13x2 / CC26x2 SDK 3.20.00.67 and i only can find SimpleLink CC13x2 / CC26x2 SDK 3.20.00.68 , where do I have to make changes in the settings everywhere? 

    Best

    Ralf

  • Hi Ralf,

    In the case of CC26x2, I would not expect that you need to adjust any path as such. As the change in SDK version is also small, it is very unlikely that you would have an issue due to the SDK source changing (but if you do, again feel free to post the errors here for me to look at).

  • thank you!

    ok i will try it and i will post here if any issue comes up.

    Best

    Ralf