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.

TI-RTOS samples for cc3200

Other Parts Discussed in Thread: CC3200

hi all

I see in examples provided with cc3200-sdk there are some examples based on free-rtos. However ,  since i am new to ti-rtos , i'd like some easy example of ti-rtos application , maybe two tasks each blinking a led or somthing dumb like that. Just to make me concentrate on the basical - create thread /  run thread / kill thread .. tasks.  I see there is a nice tool for graphical configuration of a multithread application , but in my opinion a simple programatic approach for the ones used preferring it could be nice.  Is there any resource over there ?

thanks all

Stefano B

  • Hi Stefano,

    There are many TI-RTOS examples and resources to help you out.

    In CCS6 make sure you have installed TI-RTOS for SimpleLink, this can be done by following the below steps:-

    1. Select View Menu
    2. Select CCS App Center
    3. Check the Select box for TI-RTOS for SimpleLink under Add-Ons

    You can then access the examples by following the below steps:-

    1. Select View Menu
    2. Select Resource Explorer (Examples)
    3. Expand the TI-RTOS for SimpleLink Wireless MCUs option
    4. Expand Wireless Connectivity MCU
    5. Expand CC3200
    6. You will now have access to many examples

    You can also learn more about TI-RTOS at the Introduction to the TI-RTOS Kernel Workshop here - http://processors.wiki.ti.com/index.php/Introduction_to_the_TI-RTOS_Kernel_Workshop

    Glenn.

  • Glenn, thanks for recommending the workshop. I happen to be the author of that workshop and work in TI's Technical Training Organization. We actually support 4 targets - Tiva-C 123 LP, C28069 Control Stick, MSP430-5529 LP and C6748 LCDK. We focus mostly on the kernel and have a few optional labs on driver related stuff.

    All we do is blink LEDs in the workshop - why? Because we focus on the O/S-related topics. The link that Glenn gave is correct. I have all of the course materials there along with videos of each chapter. We have had a few requests to include the CC3200 board in the mix (supporting four boards with xWares changing often is a maintenance challenge as it is), so maybe one day we will add this target (my boss tells me what to do - so if he says "go", I will go).  ;-)   In the interim, feel free to access the online materials and videos - we post these as a team to be able to reach more users than just in our live workshops. 

  • Hi Eric,

    I went through your workshop videos and they were amazing. I am using CC3200 SimpleLink LaunchPad for a project. I would like to know if there are any workshop solutions available for CC3200 SimpleLink LaunchPad or else whether I could port the same solutions(given in the zip file) to cc3200 LaunchPad. 

    Thank you,

    Regards

    Rakesh

  • Thanks for the kind words. I would imagine that when the new LP is available with the new silicon/module in late late 4Q or early 1Q next year, my plan would be to write the "LED blink" code using TivaWare and the timer interrupt code that is used in the labs. Once my manager says "go for it", that's when I work on it. It is not on my priority list at the moment. But every week now I am getting more and more requests for this, so the demand is increasing.

    For now, all you would need to do is take Lab 5 (Hwi lab) and port it to the CC3200. You could use this as a base lab and hey, a great learning experience as well. You will most likely need to change the GPIO port for the LED (but there are examples on how to do this in the TivaWare for CC3200) and possibly change the timer code that sets the timer for a 500ms "tick". This may require no changes because it is the same CPU - M4. Once you have Lab 5 ported, you can go backwards and forwards in the workshop with that "blink LED + timer" code and use it in all the rest. 

    When I created this workshop a little over a year ago, I worked with a few MCU folks to help me simply write the blink LED and timer code for each architecture. When that was done, adding the BIOS stuff was easy. So, in effect, once you can blink an LED on the CC3200 board and set up a timer with a 500ms period, you're done.