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: Starting a project from scratch

Part Number: CC2640R2F


Tool/software: Code Composer Studio

Hi Community,

I'm trying to develop a project from scratch for a CC2640R2F board, therefore Im using CCS/CCS Cloud.

The only advise for this was a code snippet from a basic main function that I found here:

https://dev.ti.com/tirex/explore/content/simplelink_cc2640r2_sdk_4_20_00_04/docs/blestack/ble_user_guide/html/ble-stack-3.x/the-application.html#main-initialization

Sadly, they did not say anything about how to define variables and which file dependencies do the functions have(i.e. the file where they are defined). This leads of course to definition errors.

Im struggling finding good indications of how to start an own project(from scratch). If I only could know how to set the basic configuration(files, code, definitions, etc) that would allow me to start code my own main function with some Profile/Services, I would be very thankful.

  • I would suggest you to start from TI Simplelink Academy.

  • Hi Yikai,

    I went all along this tutorial already.

    Sorry but if Im not missing anything, in this tutorial they use examples as starting point and they do not give any advice about first steps for initiating a project from scratch.

  • Hi Thomas!

    When starting your own project, I highly recommend starting from one of our sample projects. If you would like to implement a peripheral application, then I highly suggest using simple_peripheral as a starting point and adding your desired functionality to that project. Going through the SimpleLink Academy curriculum will provide you with knowledge of many of our starting projects which will help you decide which sample program is best to start off with to implement your application. We have several examples available on the ble examples Github page which may be a better starting point for you application. 

    I also suggest referencing the Quick Start Guides (BLE / BLE5) and the User's Guide (BLE / BLE5). They are very helpful and contain very useful information when implementing custom applications. 

    Regards,

    Jan