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 220.127.116.11
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 pyserial
Then 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)
- 301 All Categories
- 104 Announcements & News
- 51 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 52 Unboxing & Project Sharing
- 24 Tech Updates
- 549 UP Products
- 1 UP Xtreme i12
- UP Squared Pro 7000
- 1 UP Element i12 Edge
- 11 UP Squared V2
- 25 UP 4000
- 24 UP Xtreme i11
- 34 UP Squared 6000
- 44 UP Squared Pro
- 140 UP Xtreme
- 819 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 221 UP Core
- 3 UP Xtreme Lite
- 43 UP AI Edge
- 215 Starter Kits & Peripheral