On 04/27/2015 06:41 AM, JAY KOTHARI wrote: > Hi, > I am unable to do simple uart communication in BBB. I have set device tree > > uart2_pins: uart2_pins { > pinctrl-single,pins = < > 0x154 0x01 > 0x150 0x31 >>; > }; > > &uart2 { > status = "okay"; > pinctrl-names = "default"; > pinctrl-0 = <&uart2_pins>; > }; > > then I configure the UART Port > > stty -F /dev/ttys0 cstopb -evenp ispeed 115200 ^^^^^^^^^ stty: /dev/ttys0: No such file or directory
uart2 is not /dev/ttyS0. uart0 = /dev/ttyS0 uart1 = /dev/ttyS1 uart2 = /dev/ttyS2 Regards, Peter Hurley > Then I made a user space application for reading and writing data to > device file. I have attached the application program > > I connected Tx and Rx pin in same BBB.(Loop back mode) > > But I am not able to do simple UART communication in loop back > mode. Do am I missing something? Please help me -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.