This posting is all about getting a quick FreeRTOS project running on a Tiva Launchpad with Texas Instruments IDE Code Composer Studio (CCS). As a more interesting example application, the code below builds on the FreeRTOS demo code that comes with CCS. The code below is a complete example that drives a character mode LCD using a i2c backpack. The i2c backpack interface makes it easy (for hardware anyway) to connect a simple LCD display to the Tiva Launchpad. Just two signal wires, plus power and ground, is all that is needed to interface a LCD which normally requires four data plus two control signals. The i2c backpack has a serial shift register that connects to the LCD. The backpack also has a transistor that allows control over the back-light LED. The backpack can be had for as little as $2 bucks (free shipping – of course) direct from China! Here is a link for the modules I used.
Programming the TI Tiva Launchpad with Energia is easy, quick, and fun. However, I’ve found building large application with Energia can be a challenge. First, using only printf statements for debugging can only get you so far. Second, the editor in the IDE (integrated development environment) lacks the ability to jump around large projects that have lots and lots of files. Don’t get me wrong, I love Energia for what it is – an awesome Ardiuno for TI Launchpads. It’s just not designed for large projects and that’s just fine. It’s awesome and really helps getting up and running on TI micros within a quick minute.