Serial port available and max baudrate

Moderators: mdrjr, odroid

Serial port available and max baudrate

Unread postby elgarbe » Tue Sep 11, 2018 7:51 am

I want to connect mi odroid C2 with a pixhawk flight controller. The FC could be configured at 115200, 500000, 921600 and 1.500.000 bps
What of them could be used on odroid running ubuntu mate?

Thank!
elgarbe
 
Posts: 3
Joined: Mon Sep 10, 2018 5:34 am
languages_spoken: english
ODROIDs: C2

Re: Serial port available and max baudrate

Unread postby odroid » Tue Sep 11, 2018 10:05 am

There are up to 4 UART ports.
https://wiki.odroid.com/odroid-c2/appli ... /gpio/uart

As far as I remember, the maximum baud rate is 921600.
User avatar
odroid
Site Admin
 
Posts: 28718
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Serial port available and max baudrate

Unread postby elgarbe » Wed Sep 12, 2018 8:39 am

I will use ttyS1 on pin 8-10
Is there a way to confirm that without error test?
Could I get more speed using a USB to uart converter?

Thank!
elgarbe
 
Posts: 3
Joined: Mon Sep 10, 2018 5:34 am
languages_spoken: english
ODROIDs: C2

Re: Serial port available and max baudrate

Unread postby tobetter » Wed Sep 12, 2018 10:51 am

elgarbe wrote:I will use ttyS1 on pin 8-10
Is there a way to confirm that without error test?
Could I get more speed using a USB to uart converter?

Thank!

What do you mean without error test?
The USB-to-SERIAL converter can support the baud rate as much as it supports regardless of CPU performance but would depend on USB bandwidth.
User avatar
tobetter
 
Posts: 2411
Joined: Mon Feb 25, 2013 10:55 am
Location: Paju, South Korea
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1

Re: Serial port available and max baudrate

Unread postby elgarbe » Fri Sep 14, 2018 4:13 am

I mean without try every baudrate and see if it works or not. Is there a way to confirm the max baudrate?

Thank!
elgarbe
 
Posts: 3
Joined: Mon Sep 10, 2018 5:34 am
languages_spoken: english
ODROIDs: C2

Re: Serial port available and max baudrate

Unread postby brad » Tue Oct 09, 2018 5:52 pm

The datasheet suggests up to 8,000,000 bps and I think Ubuntu mate would be fine with 1,500,000.
brad
 
Posts: 709
Joined: Tue Mar 29, 2016 1:22 pm
Location: Australia
languages_spoken: english
ODROIDs: C2


Return to Hardware and peripherals

Who is online

Users browsing this forum: No registered users and 3 guests