How can I change UART speed?
2 posts
I want to change uart speed to 9600 bps. I tried just stty 9600 and got no error, but it didn't work. I am using an usb converter to uart on my pc. Am I missing something?
- Posts: 6
- Joined: Thu Jun 07, 2012 8:18 pm
man stty
joan@pluto:~$ stty -F /dev/ttyAMA0
speed 9600 baud; line = 0;
-brkint -imaxbel
joan@pluto:~$ stty -F /dev/ttyAMA0 19200
joan@pluto:~$ stty -F /dev/ttyAMA0
speed 19200 baud; line = 0;
-brkint -imaxbel
joan@pluto:~$