Jump to content

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.

Link to post
Share on other sites

The FR2311 only has one UART. To be able to use pins 3 and 4 with an external device you have to remove the RX/TX jumpers from the board. Note that you will not be able to both communicate with the SIM800 and do debug to the Serial terminal.

Is there any specific reason to use the FR2311? If not, then I would suggest upgrading to a MSP-EXP430F5529LP LaunchPad: This LaunchPad has 2 serial interfaces. You can then use Serial.xyz for debugging and Seria1.xyz for communicating with the SIM800.

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...