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/CC2650MODA: Using the module as a SPP-LE UART bridge

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

Tool/software: Code Composer Studio

Good day,

We have a few products based on TM4C MCU's, and we need to implement Bluetooth LE communication on these products.

To maintain existing structure, the goal is to use a CC2650MODA connected to the TM4C controller via serial UART, and the module should work as a SPP-LE bridge. We plan to write a basic library for the TM4C side, containing the necessary "commands", such as

  • Tell me the addresses of the bluetooth device(s) you are connected to
  • Tell me the name of the bluetooth device(s) you are connected to
  • Start broadcasting BT service for pairing
  • Start advertising LE service for SPP-LE connection
  • Change default UART speed (between system and module)

Other than special commands, all we really want is to send receive bytes via the TM4C UART all the way to a PC or mobile device via Bluetooth.

Module boosterpacks and all sorts of EK hardware are already at hand, just "waiting for the kickout".

Question is: is there some sort of library, application note, examples, anything that can speed up the process? Or rather the other way, for we've found several posts and documents, so I guess I'm trying to filter - what is actually current and more directly relevant to this scenario?

Thanks a lot and best regards

Bruno

  • Hi,

    You can take a look at our simplelink academy training simple network processor section and take it from there.
    software-dl.ti.com/.../ble_snp_sap_intro.html
  • Hello Christin,

    Thank you for your reply!

    However, I noted that everything on the Academy is based on TI_RTOS. While we don't have a problem to have the CC2650 side running RTOS, our TM4C applications are based on C with TivaWare, no OS. I did forget to mention this relevant piece of informantion on my initial post...

    I understood from your link that, regarding the CC2650, all we need to do is to flash the simple_np hex application. Good!

    But the MSP432_ProjectZero, being TI_RTOS based, would be too far from our reality. So I guess what we are looking for is either a ProjectZero non TI_RTOS based, or an API Manual or more comprehensive documentation to use the same ProjectZero libraries in our xWare based TM4C project.

    Is there such?

    Regards

    Bruno
  • Hi Bruno,


    You didn't mention which version of the TI BLE-Stack you are using but you can find a list of the SNP APIs that are available in the Simple Network Processor API Guide that is located in the SAP directory of your TI BLE-Stack installation. (For BLE-Stack v2.2.1, it is in the sap_3_00_01_07 directory).


    You can also look through the resources table in the About the Simple Network/Application Processor section of the SimpleLink Academy lab that Christin mentioned for more design guidance.

  • Hi Rachel,

    From what I've read, I can use the unified NPI or the SAP (which uses the unified NPI?) to interface with a CC2650MODA running the simpleNP, correct?
    I can try to port these APIs to the Tiva but they only run on TI-RTOS?