This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Energia. Where do I get documentation?

Other Parts Discussed in Thread: ENERGIA, MSP430WARE

Hello!

I'm trying to use Energia as a way to teach to an Arduino user.

I'm using the FR5994 board, and I found a tutorial somewhere, saying that the board's red led

can be accessed with the definition RED_LED. I tried the blink code, and it works.

Now, where can I find definitions for other items. For instance, let's suppose that I want to use

UCA0 in SPI mode. What would be the configuration?

I checked in Energia's examples. There are serial examples, but none of these specifies

which port is used.

Beside this, for example if I want to set P2.5 high, how do I do? All the examples are with RED_LED,

GREEN_LED, but what about a port / pin chosen randomly like P2.5?

Any hint about how to proceed?

Thanks,

Pascal

  • Hi Pascal,

    Sorry, as I check, we don't have any more example codes for FR5994 on ENERGIA. It only have for F5529. It will be really hard for you to build your own project.

    I would ask you try to use MSP430Ware or build the code based on F5529.

    Eason

  • Hello!

    Thanks for your reply!

    Only 5529? In this case, what's the meaning of the energia file menu? In examples, tt clearly says "Examples for MSP-EXP430FR5994LP"

    which is exactly  what's written on my board, except the final "LP". But I suppose it's the same board and LP stands for Launch Pad.

    Pascal

  • Sorry, I am not quite familiar with Energia. Can you show me where I can find the "Examples for MSP-EXP430FR5994LP". Then I can help you to check whether you can modify the low-level code.

  • Hello!

    I opened the menu like you show above. As you can see, there are 3 areas,

    built-in examples, examples for any board, and examples for MSP_EXP430FR5994LP

    which is the board currently connected to my Mac.

    By the way, is the Energia project dead? The last updates are almost 3 years old.

    And beside this, back to my question. For example, if I want to toggle P1.4, how should

    I do? In the Arduino environment, all the pins are numbered, but on launchpads, they

    just have port names. What should I do if I want to use for example UCB0 in SPI mode?

    Well, I can write my own library using regular MSP430 register access, but I guess this

    has already been done, right?

    Best regards,

    Pascal


  • Here is what I can see on my Energia. It is different.

    Here is my version on windows. Can you double check.

    Yes, this project is dead. As I know, there is no plan to make any update on this platform.

    You can refer to this:

    And find this:

    Hope it can help you. Maybe you even need to change the default library.

**Attention** This is a public forum