Configuring and using COM port
We recently acquired an UP Xtreme and are searching for documentation on how to configure and use the COM port (especially the RS485 and RS232)...
Unfortunately we did not find a lot of info... We found on the UPC but nothing about UP Xtreme and are going in circles...
So how can we configure and use those ports?
Thanks a lot
Hi @gbeckers ,
For UP Xtreme, more information regarding configuration can be found on our UP Wiki here,https://github.com/up-board/up-community/wiki/Pinout_Xtreme#accessing-the-peripherals-on-the-up-xtreme
Feel free to browse the wiki for other UP Xtreme related information.
Thanks for your answer !
However, you link is focus on the GPIO and not on the DB9 COM port.
I have configured into the BIOS the RS485, then I have try the communication without success.
I don't find other information about the DB9 setting or get started...
So if you have other link or datasheet, can share it ?
Thank you for your help.
Have a nice day,
Hi @gbeckers ,
You can find the datasheet and other related hardware specification here, https://github.com/up-board/up-community/wiki/Hardware_Specification_UP_Xtreme
The COM ports are configured in BIOS:
Advanced > SIO Configuration > Serial Port 1/2 > Mode
Hello, I have the same problem with my UP Board Extreme. I need to read and write to an external device connected to the COM1.
The external device uses RS485 serial interface.
I have configured in the BIOS COM1,2 as RS485.
I developed a python script using pyserial. If I attach an external USB to RS485 converter and I run the script accessing /dev/ttyUSB3 then it works properly. if I try using it accessing /dev/ttrySn (I tried every serial available) I am able to write (I have added my user to the dialout group) but I do not receive any answer.
What is the device for COM1 (/dev/ttyS?) ?
How have I to set in order to use the RS485?
Have I to use libmraa?
I have resolved the issue:
COM1 is /dev/ttyS0
It is mandatory to connect the RS485 D+/D- to the correct pins on the DB9 connector on the Extreme:
- D- is PIN 1
- D+ is PIN 2
rogertsai(AAEON) New Member Posts: 350 ✭✭✭
All pin definitions can be found in the UP Xtreme user's manual
click here to download the manual
In general, the first COM1 port in linux becomes /dev/ttyS0, the second (COM2 port) becomes /dev/ttyS1
- 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
- 592 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