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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Arduino
  • Products
  • More
Arduino
Arduino Forum Run Arduino code on MSP430
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 16 replies
  • Subscribers 404 subscribers
  • Views 3934 views
  • Users 0 members are here
  • energia
  • msp430
  • arduino
Related

Run Arduino code on MSP430

ntewinkel
ntewinkel over 12 years ago

Hi all,

 

I just found this last night: http://energia.nu (Energia)

 

It's an Arduino style IDE that works with the $4.30 MSP Launchpads. It looks like most of the Arduino libraries have also been ported. So you can take your Arduino sketch and run directly it on the MSP430 (with maybe a few pin reassignments).

 

I'm just trying to get things going here on my Mac today (yes, it runs on Mac - woohoo!).

 

Has anyone else tried this out yet?

 

Cheers,

-Nico

  • Sign in to reply
  • Cancel

Top Replies

  • grahamf72
    grahamf72 over 12 years ago +2
    Hi Nico, I've been using Energia for a few months now. As a development tool, it is much easier to use than CCS, primarily because of the way it hides the low-level register manipulation with a higher…
  • DAB
    DAB over 12 years ago +1
    Hi Nico, I just recently downloaded the software myself. I hope to try it out in the next couple of weeks. I just recieved by Launchpad Educational Boosterpack and I am ancious to see what it can do. So…
  • DAB
    DAB over 12 years ago in reply to ntewinkel +1
    Hi Nico, Yes, the Education Boosterpack is a real bargain at 25 USD. You get a microphone, and amplifier intput, a transducer audio output, a potentiometer, an OLED display, a three axis accellerometer…
Parents
  • grahamf72
    grahamf72 over 12 years ago

    Hi Nico,

    I've been using Energia for a few months now. As a development tool, it is much easier to use than CCS, primarily because of the way it hides the low-level register manipulation with a higher level API. This approach does have some drawbacks. Firstly you don't have the same level of control over the hardware, especially clocks, so you won't get the same degree of low power that would be possible with CCS.  Secondly, the libraries come with quite a bit of overhead. Although the compiler & linker are quite good at leaving out unused code, a "do nothing" sketch still runs to about 500 bytes, and even very minimal sketches will run to a bit over 2k, meaning it is of very limited use on the 2231 chips. Also, Energia doesn't provide an interactive debugger as in CCS, so debugging is a little trickier also.

     

    But I believe the benefits of Energia will far outweigh these minor drawbacks in many situations. The Arduino compatibility isn't perfect but is quite good, so it gives access to a large pool of libraries and example code, making development much faster and less prone to mistakes.  Since the modern launchpads include the 2452 & 2553 chips, the code bloat is less of an issue than with a 2231.

     

    Over on the 43oh.com forums there is a quite active sub-forum about Energia development, including quite a few libraries - some written from scratch, some adapted from Arduino.  If you have a specific issue or question, there's a good chance someone over there has done something similar already.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • grahamf72
    grahamf72 over 12 years ago

    Hi Nico,

    I've been using Energia for a few months now. As a development tool, it is much easier to use than CCS, primarily because of the way it hides the low-level register manipulation with a higher level API. This approach does have some drawbacks. Firstly you don't have the same level of control over the hardware, especially clocks, so you won't get the same degree of low power that would be possible with CCS.  Secondly, the libraries come with quite a bit of overhead. Although the compiler & linker are quite good at leaving out unused code, a "do nothing" sketch still runs to about 500 bytes, and even very minimal sketches will run to a bit over 2k, meaning it is of very limited use on the 2231 chips. Also, Energia doesn't provide an interactive debugger as in CCS, so debugging is a little trickier also.

     

    But I believe the benefits of Energia will far outweigh these minor drawbacks in many situations. The Arduino compatibility isn't perfect but is quite good, so it gives access to a large pool of libraries and example code, making development much faster and less prone to mistakes.  Since the modern launchpads include the 2452 & 2553 chips, the code bloat is less of an issue than with a 2231.

     

    Over on the 43oh.com forums there is a quite active sub-forum about Energia development, including quite a few libraries - some written from scratch, some adapted from Arduino.  If you have a specific issue or question, there's a good chance someone over there has done something similar already.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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