6357 views|8 replies

2002

Posts

24

Resources
The OP
 

[Original] New way to play with MSP430FR2433LP --- play with MSP430 like Arduino [Copy link]

 
 
This post was last edited by shower.xu on 2018-1-3 16:09 Speaking of TI's MSP430 series, everyone is impressed by its low power consumption performance. I believe everyone has one or two launchpads, but how can they not be covered in dust? Writing programs requires checking various documents and looking at the module register configuration. Can it be as simple as Arduino? The answer is yes, TI has already done this. That is the weapon of this article: energia Engrgia is a simple programming tool prepared by TI for everyone. It is open source and community supported. It is highly similar to Arduino, including the interface, usage and programming method. The following is its interface. Is it familiar, except for the family red color of lunchpad? And on November 20, 2017, support for MSP430FR2433 board was added. It is hot and fresh. Let's try it with me. 1. First download and install Engrgia. The latest version is Energia 1.6.10E18, which supports all platforms of win/mac/linux. Please download it here: http://energia.nu/download/ Just unzip it, it is green and pollution-free. Energia 1.6.10E18 (8/11/2016)Mac OS here: energia-1.6.10E18-macosx-signed.zip
Windows: Binary release version 1.6.10E18 (8/11/2016) Linux 64-bit: Binary release version 1.6.10E18 (8/11/2016) Built and tested on Ubuntu 14.04 LTS (Trusty Tahr).2.Add library supported by the boardMenu---Tools---Development Board--Find your own board model. If not, click the development board management above and install the corresponding library. FR2433 needs to install the first model. Select 3. Plug in the board and wait for the driver to be installed. Two serial ports will appear, one for download and the other for simulation. Just choose the downloaded one. 4. OK, now it's time to start. Write the initialization configuration in steup and the logic statement in loop. Experienced drivers will understand. First, light up the light below, then click the second button to upload to the board, and flash it.
  1. void setup() { pinMode(LED1, OUTPUT); // sets the digital pin as output } void loop() { digitalWrite(LED1, HIGH); // sets the LED on delay(1000); // waits for a second digitalWrite(LED1, LOW); // sets the LED off delay(1000); // waits for a second }
复制代码
5. Simple enough, isn't it? TI also provides many libraries, many, many.... Let's try the serial port again. Generally, writing to the serial port requires configuring registers, checking ports, interrupts, etc. It takes a long time to toss around. Look at my
  1. //demo by Shower.Xu int times = 0; // variable to store the read value void setup() { pinMode(LED1, OUTPUT); // sets the pin as output Serial.begin(9600); Serial.print("Uart Demo by Shower.Xu\r\n"); } void loop() { digitalWrite(LED1,HIGH); // sets the LED delay(1000); digitalWrite(LED1,LOW); // sets the LED delay(999); Serial.print(times++); }
复制代码
Just add two lines to the previous sentence, one for initialization and one for output, and you're done. Simple, right? Click the serial monitor button in the upper right corner to see it running: Now the question is, I'm not familiar with the syntax and pins, what should I do? Here it is, the syntax format can be found here, and there are various libraries: http://energia.nu/reference/ The pins of the board can be found on the website, I put the FR2433 here This content is provided by EEWORLD forum user shower.Original by xu, if you want to reprint or use it for commercial purposes, you need to obtain the author's consent and indicate the source Well, everyone, work hard and close the post! By the way, I wish you all a happy new year!

This post is from TI Technology Forum

Latest reply

I am curious about how you downloaded it from the official website. I have tried several times but it doesn't work. Can someone send me a copy? Email: 351660548@qq.com, thank you.  Details Published on 2018-7-14 12:34
 

7172

Posts

195

Resources
2
 
Awesome! Now Arduino is officially added
This post is from TI Technology Forum
 
 
 

1461

Posts

1

Resources
3
 
This has been around for a long time. I remember using it to play with G2553 a few years ago. However, few people use it and there are not many related resources.
This post is from TI Technology Forum
 
 
 

111

Posts

0

Resources
4
 
This thing is really advanced
This post is from TI Technology Forum
 
 
 

1272

Posts

2

Resources
5
 
Trying to lower the barrier to entry for rookies is a bit like doing your own rice bowl, isn't it?
This post is from TI Technology Forum
 
 
 

131

Posts

2

Resources
6
 
Not bad, 430 is a good thing
This post is from TI Technology Forum
Personal signature每个人心中都一片待开发的天空!
 
 
 

113

Posts

0

Resources
7
 
This post is from TI Technology Forum
 
 
 

2

Posts

0

Resources
8
 
I'm just curious about how to download Energia. I can't download it from the official website. Can you send it to my email, 351660548@qq.com? Thank you.
This post is from TI Technology Forum
 
 
 

2

Posts

0

Resources
9
 
I am curious about how you downloaded it from the official website. I have tried several times but it doesn't work. Can someone send me a copy? Email: 351660548@qq.com, thank you.
This post is from TI Technology Forum
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list