Part Number:MSP430F5529
Hello,
I have been working with the MSP4305229 Launchpad and have been trying to work with Bluetooth. I am using a RN 42X module and have it powered up, and connected. My issue though is at least getting a signal from the MSP430s TXD pin. I am using energia because the information I need to send is not to complex, and from my understanding, using
Serial.print(); Serial.println(); should be giving a signal to the TXD pin at least. I have used a scope though, and as soon as I power on the launchpad, the TXD goes high and stays there without transmitting my signal. My code I am using is below.
#include <stdint.h>
void setup() {
//set baud rate to match BT module
Serial.begin(115200);
}
void loop() {
{
String t; //string to hold data from BT module
// while(Serial.available()) { //keep reading bytes while they are still more in the buffer
// t += (char)Serial.read(); //read byte, convert to char, and append it to string
// }
if(Serial.available()) { //keep reading bytes while they are still more in the buffer
t += (char)Serial.read(); //read byte, convert to char, and append it to string
}
while(t.length()) { //if string is not empty do the following
Serial.print("Should Not Be Recieving Data!!!\n"); //send this for any other string
}
delay(2000);
Serial.println(0);
Serial.println(1);
Serial.println(5);
}
}}
I have tried both with and without the jumper to the EZ FET board, but to no avail.
Am I missing something? Should Serial.println not be sending a signal to the TXD pin?
Thank you for any help or information