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)