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.

CC2650DK demo libraries?

Other Parts Discussed in Thread: CC2640, CC2650

Hi, I want to set up a BLE communication between two CC2650 controllers using the SmartRF06EB board's LDC to give feedback.

Basicly, I want to make a simple PER test like the preloaded one. 

I'm able to run the 3 example projects (LCDsmart, Pin interrupt, UART echo) and I want to use the same functions (LCD_bufferPrintString,  PIN_setOutputValue aso) for my project, but (I'm kind of new to programming) I can't figure out which libraries I need to include/define, where I can find them and how to include them (drag and drop?).  This may be a stupid question and easy to solve, but I've been trying for some time and can't find it...

I'm using CCS 6.1.0, and BLE-stack is installed.

Can somebody please help me with this?

  • Hi Larie,

    For more information on how BLE and the stack work I would recommend having a look in the SW developers guide. You will find this, along with a lot of other information, on the BLE wiki: ti.com/ble-wiki .

    Cheers,
    Fredrik
  • I have, but TI-RTOS is giving me a hard time.. Isn't there a way you can just dump a couple of bytes in some kind of register and then have them send by giving a "send command" of something..? Without having to use RTOS.. My intended application is just so basic, I don't really understand why I would need an operating system for it. In my eyes RTOS just makes things complicated :/

  • Based on what you write here it is a bit unclear to me if you actually want to set up a BLE link, or if you just want broadcast data on the air. Setting up BLE communication involves a bit more setup than just dumping a couple of bytes in a register and pushing the "send" button.

    For the CC2640 TI-RTOS should be considered your best friend. It will handle all the power domains and clock gates for you, it will automatically go to the lowest available power mode based on what you are doing etc. etc. It will basically take care of everything to make sure you get the optimum performance and lowest possible current consumption. Running without RTOS is much more complicated.
  • Oh, ok. I'll try some more to understand how to navigate in TI-RTOS.

    What I want to do is make the first board send some bytes to the second board, and let the second board display the amount of correctly received bytes at the LCD. I thought this would be possible just by editing a demo project, but I can't find a demo that makes that kind of link (communication between two CC2650's). All the demo's are communications between a CC2650 and some other device (heart rate device, blood pressure meter, aso). Or am I missing one?