Energia is a TI and community-driven software framework integrated development environment (IDE) that provides Wiring/Arduino-compatible application program interfaces (APIs) to various TI microcontrollers (MCUs), including those found in the newly expanded SimpleLink™ platform. By adopting the Wiring/Arduino framework, you can leverage a large base of community-developed examples and projects with TI MCUs. The latest version of Energia is now built on top of the SimpleLink software development kit (SDK) and further abstracts peripheral drivers so that they are identical to those found in the Wiring/Arduino framework (digitalWrite, digitalRead and analogRead).
Figure 1: Energia IDE user interface
In addition, the SimpleLink platform is able to take advantage of a novel version of Energia called Energia MT. With Energia MT, you can easily create multitasked applications and run multiple Energia sketches in parallel within the same device. This is possible by leveraging the TI-real time operating system (TI-RTOS), which is delivered as part of the SimpleLink SDK, and which Energia is now based on. This approach makes it easier to create more complex applications through multitasking while still taking advantage of the intuitive Arduino-compatible APIs.
You can merge multiple Energia sketches into one project by simply running them in a separate task, then using global variables or RTOS messaging queues/mailboxes to exchange data between those various tasks. Energia MT makes multitasking easy – just create a separate setup() and loop() function for each task you want to instantiate, and Energia MT will handle the required TI-RTOS APIs behind the scenes.
Last but not least, you can take advantage of the various development tools supported by the SimpleLink platform, including the CCS Cloud IDE. This tool facilitates programming with Arduino-compatible APIs using a browser-based IDE, which includes basic debugging functionality. And thanks to the debugging compatibility, you can now set breakpoints, watch variables or dig deeper into your application within CCS Cloud.
To learn more about Energia and download the IDE, visit www.energia.nu.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.