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.

RTOS/LAUNCHXL-CC1310: How do I get started with programming the CC1310?

Part Number: LAUNCHXL-CC1310
Other Parts Discussed in Thread: CC1310, CC2650

Tool/software: TI-RTOS

Hello,

I am currently working on a project where i want to be able to read a (I2C) temperature sensor, process the data, and send it over sub-1GHz RF. 

I have chosen the CC1310 because for me it has the lowest cost and energy consumption in the market. I am however completely new to TI-RTOS and embedded C.

My project is about measuring temperatures. I have a I2C temperature sensor that perfectly matches my needs. I have been able to get the data from the sensor via the Sensor Controller Studio. However, as far as the rest of the project goes I have no idea where to begin or how to start on programming the device. I want to measure the data once every hour, and every 8 hours the data has to be send. On top of that i need every part of the MCU to be in deep sleep modus when not in use so power consumption is minimal.

I have followed the SimpleLink academy, followed Embedded-C courses and went trough the TI-RTOS tutorials, of which i must say where very hard and i still don't quite understand it.

Could anyone help me to get started? for example, point me to any practical solutions, projects or examples that show me how it should be done?

If you need more information please post the question and I will reply as soon as possible.

Kind regards,

Jesse

  • Hi Jesse,

    If you have knowledge about programming, the transition to the embedded world should be fairly smooth. However, if you don't have much experience programming, it might be a big step.

    In any case, there are a few things that you can start looking at:

    • TI Resource Explorer (available under the View menu in CCS). It's also available at the following address:
      • Look under the Software -> TI-RTOS for CC2650 ... section. There is documentation and software examples that use TI-RTOS.
      • In the CC1310 Development section, I recommend that you look at the Kernel Examples and Drivers Examples.
      • Then, there is the RF example which uses basic RF communication (which you can use to transmit the data).
    • As for power management, TI-RTOS takes care of most of it. So as long as you don't have a running task, your CPU will be in low-power mode. If you use the Sensor Controller, make sure not to wake the MCU unneccessarily. Only use "alert" when you want to wake the main CPU to transmit the data.
    • The RF examples do not use any standard protocols, so if you then want to use some kind of protocol with handshake and all that, I suggest that you download the CC13x0 simplelink software development kit.  It contains a sample application for transmitting and receiving data. It is available here:

    If you have any specific questions, don't hesitate to ask.

    Regards,

    Michel