element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
Blog SimpleLink™︎ Sub-1 GHz Wireless Microcontroller - Side Note: Start a Fresh Project
  • Blog
  • RoadTest Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
  • Share
  • More
  • Cancel
  • Author Author: Jan Cumps
  • Date Created: 24 Jul 2016 6:16 PM Date Created
  • Views 1338 views
  • Likes 7 likes
  • Comments 4 comments
Related
Recommended
  • sub-1ghz
  • cc1310
  • texas_instruments
  • howto
  • simplelink
  • feature_tutorial
  • ti_rt

SimpleLink™︎ Sub-1 GHz Wireless Microcontroller - Side Note: Start a Fresh Project

Jan Cumps
Jan Cumps
24 Jul 2016

Fast Track for new projects - The Empty RTOS Project Creation Wizard

 

image

 

The TI-RTOS installation comes with 2 kickstarters for new projects. One gives you an empty RTOS shell. The other one pre-loads some drivers and creates 1 example task. We'll check out that second one.

 

 

Thanks to the Empty Project wizard, it's not hard to create a startup project for the CC1310. As a result, we get a complete TI-RTOS that's pre-setup for us, with a single task.

Because that single task is a Blinky image , this is the ideal setup to start from. You run the wizard, compile and run.

If red LED DIO6 blinks once per second, you know you have a working project to start from..

Having a stable start point is key for future frustration avoidance. You know that anything that breaks from this point on, is in your code ..

 

Get a Stable Start Point

 

You get your new project by navigating to TI's resource explorer in CCS.

View -> Resource Explorer

 

image

 

Navigate to the TI-RTOS node for the CC1310 (I'm assuming at his point that you have installed TI-RTOS and other software packages from the CC1310 landing page).

If you dig deep enough in the tree structure for the LaunchPad, you'll find the Empty examples.

If you are a big hero, check out Empty (Minimal) Project.

If - just like me - you're a mediocre hero, check the Empty Project, and press the import example.

 

Connect (one of) your LaunchPad(s).

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Press the Build, Debugger Config and Debug links. These three wizard steps will get you up and running.

The debugger is loaded with the example, and you only have to click the Resume button to get the program running.

The green LED will light up first, and stay on. That's an indication that your code is running.

Then, the red LED will start to flash. That's a sign that RTOS is picking up the timer ticks.

Everything is working. You have a stable starting point.

 

Personalise your Project

 

The previous steps have given us a good starting point. But the project has a name with Empty in it.

And the main source file is called empty.c. And the TI-RTOS config file is called empty.cfg.

Let's change that.

 

First step is to rename the project. First stop the debugger, if you have,'t done that yet.

Right-click on the project in the project explorer, and select Rename from the context menu.

Find a good name.

 

Then search for a file called empty.c in the project's root. Right-click on that, and rename. Take care to keep the .c extension.

The last step is to right-click on empty.cfg, also in the project's root. Rename it to something meaningful for your project. Keep the .cfg extension.

I am writing an encryption project.

That's why I renamed my project to CC1310_LAUNCHXL_TI_CC1310F128_AES, the .c file to aes.c and the TI-RTOS configuration to aes.cfg.

 

image

 

Before making any other changes, Clean and Build your project, and run it again via the debugger. You'll see that the main() function - and the single blinky task - are both in the .c file that you've just renamed.

 

Now it's up to you to turn this into a radio project...

 

 

SimpleLinkTm Sub-1 GHz Wireless Microcontroller - Check  Received Signal Strength
SimpleLinkTm Sub-1 GHz Wireless Microcontroller - Use SmartRF to Try Radio Configs
SimpleLinkTm Sub-1 GHz Wireless Microcontroller - Debug 2 LaunchPads at the Same Time
SimpleLinkTm Sub-1 GHz Wireless Microcontroller - Side Note: Recognise your PuTTY Sessions
SimpleLinkTm Sub-1 GHz Wireless Microcontroller - Side Note: Recognise your Code Composer Studio Sessions
SimpleLinkTm Sub-1 GHz Wireless Microcontroller - Debug a Sender to Receiver Conversation
SimpleLinkTm Sub-1 GHz Wireless Microcontroller - Side Note: Start a Fresh Project
SimpleLinkTm Sub-1 GHz Wireless Microcontroller - Create a Transmitter with SmartRF Studio Part 1
SimpleLinkTm Sub-1 GHz Wireless Microcontroller - Create a Transmitter with SmartRF Studio Part 2
SimpleLinkTm Sub-1 GHz Wireless Microcontroller - Sensor Controller Engine Part 1: Dry Run
SimpleLinkTm Sub-1 GHz Wireless Microcontroller - Sensor Controller Engine Part 2: RTOS Integration
SimpleLinkTm Sub-1 GHz Wireless Microcontroller - Sensor Controller Engine Part 3: Wake Up Options
SimpleLinkTm Sub-1 GHz Wireless Microcontroller - Side Note : Measure Power Use of Sensor Controller Engine
SimpleLinkTm Sub-1 GHz Wireless Microcontroller - ToolKit for Range Testing

on TI E2E community: How to connect a CC1310 LaunchPad to the SIGFOX network

  • Sign in to reply

Top Comments

  • Jan Cumps
    Jan Cumps over 9 years ago in reply to DAB +2
    Thanks, @DAB. As always, the video took longer to record, render and upload than the blog writing. Added it now.
  • DAB
    DAB over 9 years ago +1
    Nice post Jan. It looks like TI has a nice easy way to get people started with their devices. DAB
  • martinvalencia
    martinvalencia over 9 years ago +1
    wow, this is great, now many people are encouraged to use this microcontroller. this is a great contribution!
  • volly
    volly over 9 years ago

    Nice, one Jan Cumps

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • martinvalencia
    martinvalencia over 9 years ago

    wow, this is great, now many people are encouraged to use this microcontroller.

    this is a great contribution!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 9 years ago in reply to DAB

    Thanks, @DAB.

    As always, the video took longer to record, render and upload than the blog writing. Added it now.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 9 years ago

    Nice post Jan.

     

    It looks like TI has a nice easy way to get people started with their devices.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube