Quantcast
Viewing all articles
Browse latest Browse all 5662

myRIO Serial Connection Using UART Pins

Hi,

 

I'm trying to read some incoming data through the UART pins of the myRIO. The incoming data is in the form of hexdecimal, and I was following a tutorial (https://decibel.ni.com/content/docs/DOC-39303), but when I ran the attached program (SerialWriteandRead), no data was being read.

 

Is there a command I can use to check if the connection is working? I have tried "dmesg", but I don't know what to look for in the list. If the connection isn't there, what should I do? If it is there, how can I read the data?

 

Also, I'm not sure if it's relevant, but I've only connected the UART RX/TX ports and ground. Is power necessary too? If so, what pins should I connect the 3.3V pin of the myRIO to on the Raspberry Pi?

 

I have been struggling with this problem for a while and would be very grateful for any help.

 

Thanks,

Mark


Viewing all articles
Browse latest Browse all 5662

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>