Hi, Not and expert here, but I did manage to get communication with a device connected to UART1. What do you have connected? If there is nothing there your transmit data will just go off into space. To see data come back you would have to have a device in loopback mode, or at least the Tx connected to the Rx.
I am running the Debian image, and used the ADAFRUIT-UART2 overlay. It shows up as ttyo1 (thats oh one, not zero one). I have a Sparkfun MAX3232 module that translates the 3V TTL to RS232 which goes to a little micro that responds to commands like "/sh/s" and returns some text. I use screen to type the text commands until I get my C program working on the BBB, or try javascript. Oh, there are also two Zigbee modules in between the micro and the BBB creating a wireless RS232 link. Hope this helps, Jonathan On Monday, September 22, 2014 12:35:56 PM UTC-4, Julian Gold wrote: > > Oh, my board revision is B6. > > On Monday, 22 September 2014 17:34:44 UTC+1, Julian Gold wrote: >> >> I've been struggling to get serial comms going on UART1. I have enabled >> it by creating a service that performs >> >> echo BB-UART1 > /sys/devices/bone_capemgr.9/slots >> >> and lo! the device /dev/ttyO1 appears. However, with two terminal windows >> open, doing 'cat /dev/ttyO1' in one and 'echo "wibble" > /dev/ttyO1' in the >> other results in nothing at all appearing in the cat window. I've tried >> several combinations of baud rates and flow control, with no success. What >> am I missing? >> > -- 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]. For more options, visit https://groups.google.com/d/optout.
