hemangjoshi37a 0 Posted June 14, 2017 Dear Developers, I want to send data from MSP430F5529 to my Arduino Nano through UART connection. But somehow it is not working filne. I have used voltage devider circuit to convert Arduino's 5V to MSP's 3.3V. Connection Arduino's RX -> MSP's TX Arduino's TX -> MSP's RX Ground of Both -> ground of voltage devicer. Code of Arduino : const int chipSelect = 10; String inByte = " "; void setup() { // initialize both serial ports: Serial.begin(9600); } void loop() { if(Serial.available()) { char b = Serial.read(); Serial.println(b); } delay(50); } Code of MSP430F5529 void setup() { Serial.begin(9600); } void loop() { Serial.write("Hii"); delay(50); } Please Help me. Thank you. Quote Share this post Link to post Share on other sites
LiviuM 43 Posted June 14, 2017 Hi, how do you know it isn't working? Quote Share this post Link to post Share on other sites
hemangjoshi37a 0 Posted June 14, 2017 From Arduino's Serial terminal I should get "Hii" message but it is not showing anything. Infact I found that the MSP is just not transmitting anything by connecting Tx pin of MSP to oscilloscope and not getting any signal. Quote Share this post Link to post Share on other sites
LiviuM 43 Posted June 14, 2017 9 minutes ago, hemangjoshi37a said: From Arduino's Serial terminal I should get "Hii" message How? Your Arduino is connected to the MSP board. Is it connected to the PC in the same time? I don't think you can share the U(S)ART link in this way. When you check it with the oscilloscope, is the MSP board connected to the Arduino/PC, or alone? Quote Share this post Link to post Share on other sites
hemangjoshi37a 0 Posted June 14, 2017 Arduino is connected to PC through USB cable and to MSP through TX/RX Pins. (to both at same time.) But When I transmit anything through Arduino, It shows on oscilloscope as well as on serial terminal. Why so?? So that in arduino we can intercept the serial signal and in MSP we cant. right?? Quote Share this post Link to post Share on other sites
LiviuM 43 Posted June 14, 2017 Arduino -> PC & MSP: one output TX (arduino) "speaking" to two inputs (RX PC & RX MSP) Arduino <- PC & MSP: two outputs (TX PC & TX MSP) trying to drive in the same time different logic levels on the same line (RX Arduino). Quote Share this post Link to post Share on other sites
hemangjoshi37a 0 Posted June 14, 2017 So what is this?? solution ?? 6 minutes ago, LiviuM said: Arduino -> PC & MSP: one output TX (arduino) "speaking" to two inputs (RX PC & RX MSP) Arduino <- PC & MSP: two outputs (TX PC & TX MSP) trying to drive in the same time different logic levels on the same line (RX Arduino). Quote Share this post Link to post Share on other sites
hemangjoshi37a 0 Posted June 14, 2017 look man just forget about connection to PC, because arduino and MSP both are connected to PC through USB cable, Not using RS232 connection. And very basic question is why MSP is not able to develop any signal on TX pin while I am transmitting some data. however Arduino generates signal on TX pin when I try to transmit some data using same code. Quote Share this post Link to post Share on other sites
LiviuM 43 Posted June 14, 2017 9 minutes ago, hemangjoshi37a said: just forget about connection to PC OK. Quote Share this post Link to post Share on other sites
hemangjoshi37a 0 Posted June 14, 2017 16 minutes ago, LiviuM said: OK. So any new thoughts ??? Quote Share this post Link to post Share on other sites
LiviuM 43 Posted June 14, 2017 It was something, but I just forgot it. Quote Share this post Link to post Share on other sites
hemangjoshi37a 0 Posted June 14, 2017 Yo man I found the solution, There is pin named TXD and RXD on the MSP's board. There is the signal is generated. But thax for your help. Quote Share this post Link to post Share on other sites
LiviuM 43 Posted June 14, 2017 Nice, I wasn't expected it to work with two parallel TX signals. Sorry for the false hints (and not telling you that you have wrong connections :)). Quote Share this post Link to post Share on other sites
hemangjoshi37a 0 Posted June 14, 2017 Hey yo. I thought it would work but it is still not working. And guess what, I am a advance member now......yay....... You said I have wrong connections. Well I have connected Tx pin to Rx and Rx pin to Tx, Isn't it right bro?? Quote Share this post Link to post Share on other sites
LiviuM 43 Posted June 14, 2017 2 hours ago, LiviuM said: I don't think you can share the U(S)ART link in this way. Quote Share this post Link to post Share on other sites