Geting Started with Wave One

This is a getting started page for the Wave One

Last Updated May 28th 2017

Introduction

Getting Started with “Wave One” a small IOT device based off the CC1310 and the BQ25505 energy harvesting chipset. The ideas simple, using a coin cell 2023 3V battery and good firmware you can create wireless sensor nodes that last years in the field transmitting small amounts of data.

Power

The Wave One is based around the CC1310 with the BQ25505 for energy harvesting. The DC connector accepts mW power solar panels (2-6V) or a 5V AC/DC source to power the baord. The back of teh baord has a palce for a 3V 2023 coin cell battery that when used properly can power the baord when solar power is not avalible in teh field. TI says this design can last 5-10yrs on thsi small coin cell battery, SinWaves is still enavulating this claime. Expaect a detailed report at a future date to explain our findings.

Design

The design basically a copy of the TIDA00488 from TI to help people get up and running with energy harvesting technology and wireless IOT development. You can learn more about the design at TI’s website. here

The CC1310 is a new line of processor in the Simple Link processor family that has a 1GHz radio integrated with an ARM M3 MCU. To learn more about the chipset you can find the complete data sheet here. This chip using Texas Instruments real time operating system (TIROTS) for power management. It’s also capable of communicating wireless with Texas Instruments proprietary wireless link software. If you don’t like TI practical you can use other standards by changing configuration variables.

This is an evaluation module and is NOT an Arduino project. It requires you know how write C code and use an IDE.

Setup the IDE

Step One: Download Code Composer Studio 7 (CCS) CSS Downlaod Page Download the latest version of the CCS for you operating system

Installing CCS packages for comatibility with CC1310. CCS is based on Eclipse an open source IDE and therefroe TI has created packages to make the IDE work with different TI product lines. During setup you will be prompted to select which packages you want to use, and therefore look at picture and make sure that “SimpleLink CC13XX and CC26XX Wireless” is selected. Note that you can install more latter through preferences. If you think you will use other TI product lines, select what you will be using to install with the IDE. Go to the next page, and then “Finish install. This will take about 10 minutes to install. Go grab some tea or coffee while it loads if you are into those things…

Code Compossers first use!

When you lanch CCS for the First time you get the Project Exploer landing page! Let's start by Browsing Examples.

This will laod a page that looks like the picture below full of different examples for TI's developmnet kits, we are using teh CC13XX so lets downlaod all the examples for these devcies. The small gray box on the right side of each devcie has a computer with an arrow on it. Select the newest software version and downlaod it but clicking that little icon. This can take a few moments and requires you to restart CCS once it finishes, take the moment and enjoy your wait, or if you are like me find a tab you have been meaning to read and read away.

Let's address now to import projects that you just installed from the TI webpage and where you can edit them to work with this baord. Take note that once you have installed the example code you need to navidate to it and import it using CCS import tool. Thsi infromation can be found at

If you are comfitable with using TI's example code and working with CCS then you are basicly ready to start debugging. If you are someone more familar with git and importing code from a git repository, whitch I recomend for tracabilitie, you can follow the section. First go to this git repo Wave-One Example Projects and clone it to a folder you would like to save these examples into.

Go to FIle, Import CCS Project and a winsow will appear like teh picture bellow, point the Browse... to the folder you either saved all teh TI exmaple sto our the Wave-Onw Code to, they are basilly teh same at this point so dont worry about which option you choose. Now Select all, make sure you check both the boxes "Automaticlly import references project found in same directory" and "Copy project into workspace", Now finish. Wait for the import to take palce.

Get Coding!

You have now imported a large number of examples into you workspace, on teh left side each folder contains a project that demontartes different setups. Lets start with a PWM example of an LED to demontrate how to use the pins and also who to chnage the funtion of the pins.

Some Example Code

  • /* LEDs */
  • #define CC1310_LAUNCHXL_PIN_LED_ON 1
  • #define CC1310_LAUNCHXL_PIN_LED_OFF 0
  • #define CC1310_LAUNCHXL_PIN_RLED IOID_21 //IOID_6 Remap the pinout to the LED
  • #define CC1310_LAUNCHXL_PIN_GLED IOID_21 //IOID_7

The above code can be found in CC130_LAUNCHXL.h where the pins are maped fro teh Ti C1310 launchpad but we will want to remap teh pins to match the development baord. As youc an see the RLED and GLED are remaped to IOID_21 the pin that I connected an external LED to. The LED is soldered on to teh baord for demonstartion purposes, you do not need to add it if you dont want an LED on teh baord. The ideas is to shwo you how to maps pins and use these examples.

Set Up Hardware

Using the XDS110 Debugger

The ideas simple using the debuggeryou will now load software onto the target for the frist time, and this means two things, opening the XDS110 TI debugger and using the adaper baord. Please note the there is deirectionality to the bedugger and that you will need to power the baord either with a Coin Cell battery on teh buttom or from 5V Dc jack!

Note the direction in the picture and the adapter baord you will need is the smallest one that comes with teh debuger

Also note that the baord needs to be externally powered! You will need to either use a coin cell battery (2023) or a 5V DC power jack.

Once you have the project folder "Active" you can press the little green bug on the top menu bar, this will both build the project and load it to the target device.

That is basicly enought to get you started, you are now ready to create you first applciation using this baord. Bellow is more documentation that might help.

Some Useful links

Shematic of Wave One

Above is the basic PCB layout of Wave One, this should help you understand and see where things are placed

PDF Schematic

SinWaves will try and update this page and add a few more tatorial as we also continue our development with these baords

Happy Coding!