element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 LED Road Test - Software issues - Blog 2 - Nov 26
  • 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: gpolder
  • Date Created: 26 Nov 2015 9:53 PM Date Created
  • Views 633 views
  • Likes 1 like
  • Comments 5 comments
Related
Recommended
  • lighting
  • ccs_compiler
  • ledroadtestplus
  • energia
  • msp_430
  • ble_led

LED Road Test - Software issues - Blog 2 - Nov 26

gpolder
gpolder
26 Nov 2015

Previous Posts:

TI and Würth Elektronik LED RoadTest+ application and un-boxing - Blog 1 - Nov 10

 

Introduction

It is the highest time to write about my experiences with the LED Road Test +. Its not that I didn't do much, but there were not much results yet. I discussed about possible hardware options for the LEDs, I looked into the Würth website for LEDs, and connecter, I thought about how to get a proper PCB and I installed and tested software tools.

 

TI BLE Multitool App

To start with the first tool I tested, the TI BLE Multitool App was already on my iPad, used in a previous project. Although the BLE Light Development Kit is not part of my proposed project I would rather give it a try, because it is such a nice toy. Unfortunately I didn't realize this, but the Multitool App stopped working after my iOS 9 update. Luckily I had the LightBlue app installed, no fancy color wheel, but I can send HEX values to the RGBW channels.

 

Energia

For the serious work of my project I need to program the Launchpad kit. Quite some compilers/IDEs are available. I decided to use Energia, which is an open-source electronics prototyping platform started by Robert Wessels in January of 2012 with the goal to bring the Wiring and Arduino framework to the Texas Instruments MSP430 based LaunchPad. Since I already have quite some experience with Arduino, this looks like a perfect environment for me, especially since the Energia IDE is cross platform and supports on Mac OS, which is my preferred platform. After downloading and installing Energia I detected that it wouldn't start, which was caused by an incompatible Java version. This can possibly be fixed easily, but first I decided to test another great IDE, which is the CCS Cloud (Launch CCS Cloud).

 

CCS Cloud

The CCS Cloud is an online IDE which supports Wiring API via Energia, TI-RTOS and C/C++ development. After logging in, I had to define my LaunchPad version, install a Safari plugin, and helper software to connect the IDE to the LaunchPad. Everything went fluently and within 15 minutes the red and green led on the LaunchPad flashed alternately, using this code:

/*
  Blink
  The basic Energia example.
  Turns on an LED on for one second, then off for one second, repeatedly.
  Change the LED define to blink other LEDs.

  Hardware Required:
  * LaunchPad with an LED

  This example code is in the public domain.
*/


// most launchpads have a red LED
#define LED RED_LED


//see pins_energia.h for more LED definitions
#define LED GREEN_LED

// the setup routine runs once when you press reset:
void setup() {               
  // initialize the digital pin as an output.
  pinMode(LED, OUTPUT);    
  pinMode(RED_LED, OUTPUT);    
}


// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(LED, HIGH);   // turn the LED on (HIGH is the voltage level)
  digitalWrite(RED_LED, LOW);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(RED_LED, HIGH);   // turn the LED on (HIGH is the voltage level)
  digitalWrite(LED, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
}

 

Thats it for now, hopefully next time I can tell more about the hardware setup.

 

Gerrit.

  • Sign in to reply
  • dougw
    dougw over 9 years ago in reply to DAB

    This launchpad (MSP430FR4133) has a built-in FET. When I plug in the launchpad, Windows Device Manager and Energia both detect 2 new COM ports popping up. I can select this launchpad in the Energia Tools/Board menu, and the COM ports in the Serial Port menu, but it still doesn't find it.

    Doug

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

    Hi Douglas,

     

    I wonder if you accidentally selected the FET programmer device?

     

    I have one to program some of the earlier Launchpad devices, so maybe yours requires the device to fully access the processor?

     

    DAB

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

    I have been trying Energia as well, without any luck - it runs, but can't find the Launchpad - just says "No FET found".

    I will try a few more ways to get it working this weekend.

    Doug

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

    I agree, Energia is probably the way to go for simple programs.

     

    You can easily get lost in all of the options within CCS.

     

    DAB

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

    Nice post. This has been discussed in the past how TI ignored DIY early on and with energia it was a little flunky. I would love to see TI take energia to a different level with level of commitment to the community. The community will reciprocate with support automatically IMHO.

    • Cancel
    • Vote Up 0 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