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 184.108.40.206