Jump to content
Sign in to follow this  

UART using MSP430FR2311

Recommended Posts

 I am using a MSP430FR2311 launch pad and  i am trying to send AT commands through RX and TX to SIM800 and Receive Response from the SIM800 module. But am not able to get the response and not able to use SoftwareSerial in Energia for MSP boards. Can Anyone help with this problem ? Thank you in advance.

#include <String.h>

void setup()


 pinMode(RED_LED , OUTPUT);


    val1 = Serial.readString();

void loop(){
    //do nothing
 String val2 = Serial.readString();
      line += String(val2);
 if (line.indexOf("OK") >= 0)

Since we cant use both the Debugging UART (Serial Monitor) and Application UART (TX and RX)  at the same time , I am checking the received Response for the string "OK" . and if OK is there the RED led goes high.

Share this post

Link to post
Share on other sites

The MSP430FR2311 has only 4 kB of Flash / FRAM and 1 kB of RAM, and is not officially supported by Energia.

The SoftwareSerial library may require more space.

Go for a LaunchPad with more memory and officially supported by Energia.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this