Increase speed on serial port ttyS1?

Shawn RansfordShawn Ransford Posts: 20New Member

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

  • KurtKurt Posts: 142New Member ✭✭

    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

  • ccaldeccalde Posts: 175New Member, Emutex mod

    Hi @Shawn Ransford ,

    Is that discussion closed?
    Did you get a solution for your question??

    Cheers!

Sign In or Register to comment.