UART issue on the UP squared board

I'm trying to transmit data via UART on my UP board. I am using pins 8 and 10 for Tx and Rx. I connected my pin 8 to 10 and tried to send and receive data using pyserial. I wasn't getting any data back and it gets stuck in the loop after send command. "sudo cat /proc/tty/driver/serial" shows that both ttyS4 and ttyS5 are active but tried both and doesn't work.
I'm using Ubuntu 18.04 with kernel 5.4.0.1
Comments
-
We have verified the functionality to work with our kernel, please check the steps (if not already done) in our wiki: https://github.com/up-board/up-community/wiki/Ubuntu_18.04
Once done please install:
pip3 install pyserialThen download and extract the script provided: https://we.tl/t-fUDtOSNIjq
Run it using python3 and you should see the serial communication to be working.
-
Hi @DCleri, I tried and I don't get anything on the receiver end (have connected pin8 to 10).
The serial communication doesn't seem to work. (FYI, I used the installation instructions from the link you mentioned above)
Tagged
Categories
- 292 All Categories
- 104 Announcements & News
- 48 Product News - New Product/Product Change Notice/ End-of-life
- 181 Welcome Developers!
- 49 Unboxing & Project Sharing
- 20 Tech Updates
- 410 UP Products
- UP 4000
- 12 UP Xtreme i11
- 21 UP Squared 6000
- 39 UP Squared Pro
- 132 UP Xtreme
- 797 UP Squared
- 1.4K UP Board
- 86 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 41 UP AI Edge
- 213 Starter Kits & Peripheral