Increase speed on serial port ttyS1?

Is it possible to increase default speed on UART 1? I see mentions of doing this on the rPi...and some mentions here on the forum for the UP. However, I am not sure how to best handle this. BIOS? Kernel? Boot config? I want to jack it up as high as I can while maintaining a quality connection. All help would be appreciated.
Comments
-
It has been awhile since I played around here with the GPIO (Need to get back to it). Probably depends on what you are going to do with the Serial port.
If you wish to run your own program on it. You can configure it through your program.
When I was first doing it, I did it directly using the termios library and would use the calls like cfsetspeed to set the desired bad rate.
Later more Serial support was added to the MRAA library, so from C you can use calls like: mraa_uart_set_baudrate()
I have not tried it yet on UP2, but on the UP I tried it up to speeds like 2mbs
-
Categories
- 303 All Categories
- 104 Announcements & News
- 52 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 53 Unboxing & Project Sharing
- 24 Tech Updates
- 593 UP Products
- 6 UP Xtreme i12
- 1 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 13 UP Squared V2
- 41 UP 4000
- 24 UP Xtreme i11
- 34 UP Squared 6000
- 49 UP Squared Pro
- 140 UP Xtreme
- 826 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 221 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 215 Starter Kits & Peripheral