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.

CC2650: SmartRF Studio 7 Connectable Advertising Example

Part Number: CC2650
Other Parts Discussed in Thread: BLE-STACK,

I am using the CC2650 boosterpack, but set up so it's using the JTAG and not set up directly onto the MSP432 launchpad. I am trying to get an example of using the CMD_BLE_ADV in SmartRF maker, so far I have only been able to get an example with the CMD_BLE_ADV_NC. I edited the .h file the studio maker creates to use the ADV function and changed the command number but when I run the program on the 2650 the device does not advertise itself. How can I get the device to advertise itself to other BLE enabled devices.

  • Hi Nathaniel,

    I you want to run BLE on the module, I recommend downloading the BLE SDK and starting from one of the examples: www.ti.com/ble-stack

    Cheers,
    Fredrik
  • Hi Fredrik,

    I have looked into those examples and they aren't really what I want to use. All I really want to test is for the 2650 to send a constant string of numbers over ble so I can connect it to a ble dongle. The smartrf studio seems to be the closest thing to what I want to test but I can't figure out how to make the function work.

    Respectfully,

    Nathan

  • Hi Nathan,

    There is no way to establish a connection without running a full stack, so if that is what you want you should look into the SimplePeripheral project.

    Cheers,
    Fredrik
  • Hi Fredrik,

    Thank you for the insight. I am looking into the SimplePeripheral project and found that there are two sub projects, the app and the stack, and am having trouble figuring out what each of the two actually do and what sections of the code to modify to fit my needs. Is there any documentation on these projects other than the inline comments?

    Thanks, 

    Nathan

  • Hi Nathan,

    You should take a look at the Software Developer's Guide. You will find it un the docs folder.

    Cheers,
    Fredrik
  • Hi Fredrik,

    Thank you for all of the help so far, the guide is very useful. I am having an issue with it in section 2.6.3.3, where I build and download the stack and app projects in the correct order but I still do not pick up any kind of advertisement signal on my BLED112. I am using the simple_peripheral_cc2650lp_app and stack projects as the guide suggests. But am getting no indication that it is working. Is there anything I could be doing wrong here?

    Thanks,
    Nathan

  • Hello Nathan,

    You will need to make some adjustments in your project to run on the CC2650MODA module since the simple_peripheral sample app is configured for the LaunchPad. Refer to app note SWRA534 "Using TI Certified Bluetooth®low energy Module (CC2650MODA) as Single-Chip Wireless MCU".

    Best wishes
  • Hi JXS,

    I made the changes to the C2650_LAUNCHXL .h and .c files as shown in the SWRA534 note, and then built and ran the app and stack in the correct order as shown in the software developers guide but still see no BLE signal on the BLED GUI, the BP also does not have any lights on while I run the code if that makes any difference. What could I be doing wrong?

    Thanks,
    Nathan