Hi everyone, I'm new to beaglebone black board.I need to read/write data via UART port in beaglebone board.I can read the data in beaglebone board via UART1 port from PC. But I cant read data in PC from beaglebone board. Can anyone please help me to fix this issue?
-- On Sunday, February 19, 2012 at 12:57:47 AM UTC+5:30, Gregg D. Harrington wrote: > > Hello everyone. I posted earlier about something and everyone was so > helpful I thought I would give it another go. > > I am trying to setup my first uart connections to the beagle bone. A GPS > sensor for reading out GPS sentences from the device. I have confirmed it > works with other micro controllers and my windows PC. However, I have no > experience with the command line tools in linux to read this stuff. Which > is the first step I want to take before writing software around it. > > I have read a bunch of stuff about stty, setserial and other tools to read > a uart, but have had just plain NO LUCK. > > I have attached my GPS Tx line to my P9, pin 26 (UART1_RXD). As far as I > have read, this should be the correct pin for this. I have also used the > power and ground lines from the BeagleBone into a bread board. Confirmed it > is Tx'ing data at 9600 with an external serial connection (via windows) and > my oscilloscope. I would like todo the following: > > 1. Setup the uart connection. > - Does this require setting a mode on the pin for muxing? > - How do I read the data? > > I have found several articles on talking to a serial device, but none that > are clear to me on how to read. > > Thanks in advanced. > > Cheers, > > Gregg > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/1014015a-cd10-45a1-ad6c-26d45aa05990%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
