Jump to content

[Energia Library] radiohead library on msp430

Recommended Posts


I need to use the radiohead library (http://www.airspayce.com/mikem/arduino/RadioHead/ on my msp 430G2553. To do that, i use energia with the radiohead library. After that, i try to use them with an typical exemple but it is not working. I do not have any library. When i use the same exemple with arduino software i have no problems.


Excuse me for my bad English,


Olivier G

Link to post
Share on other sites

I haven't worked with the Radiohead library, but when I have ported Arduino code to Energia I have found interrupts and AVR specific code to be the biggest problems.


The interrupt code is usually easy to address-Arduino has a pretty simple interrupt model: dedicated interrupt pins that can be linked to the ISRs (attachInterrupt() sets everything up) . The Energia model is total flexibility: almost any pin can be linked to an ISR. To port, you have to define the Energia pin that the interrupt will be connected to; use pinMode() to set it for input and then link the pin to your ISR with attachInterrupt().


If you have AVR specific code (direct register references usually) you have to rewrite it since the registers don't exist in the MSP or Tiva processors. Often, the direct access is used in the Arduino code for performance or timing issues so the porting is problematic.




Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...