Jump to content
Derekspeegle

msp430fr5994 on energia

Recommended Posts

Hello,

I've been developing with the msp430fr5994 on energia and I seem to have come across an issue using the serial ports on 6.0 and 6.1 I have two of these processors connected together with the Tx/Rx connected respectively on 6.0 and 6.1. I have the first processor sending out a single number using the Serial1.write("1"); command. The second processor i set to respond by displaying data on it's TFT once it gets any kind of data. So far, I can't get anything to come out of the Serial1 ports. An oscilloscope shows that it's being held high and not sending any kind of data out. I've tried just about every combination of Serial1.print and Serial1.write commands and attempted single numbers, letters, phrases, ect. I read online from about a year ago that there was an issue getting Serial1 to work on this processor using energia, was there a fix for this? 

 

Thanks, 

Share this post


Link to post
Share on other sites

Hi @Derekspeegle When you connected TX / RX did you swap them? TX should be connected to RX and RX to TX.


            | TX (P6.0) --  -- RX (P6.1)  | 
LaunchPad 1 |             \/              | LaunchPad 2 
            |             /\              |              
_ _ _ _ _ _ | RX (P6.1) --  -- TX (P6.0)  |_ _ _ _ _ _ _

Robert

Share this post


Link to post
Share on other sites

Yes, @energia  they are swapped like your diagram. However, even if I take one by itself with a basic serial write command on loop, my oscilloscope only picks up a logic high . Serial1.begin(9600) should start up 6.0 and 6.1 right?  

Share this post


Link to post
Share on other sites

Hello,

 

Here are shots of my oscilloscope using serial.begin vs serial1.begin on the prospective pins using the exact same code. Now I'm confident there's something wrong with the way that the hardware is coded. Let me know if theres a fix that I could try to implement . 

 

Thanks, 

20191121_121402.jpg

20191121_121457.jpg

Share this post


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.

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