Hello,
I did a loop test for the UART (pin 8 TX and pin 10 RX), using a python script. I jump the pins together. I did not get anything back, only: Response: b''
Could someone advise. Here is the simple script:
import serial
import time
ser = serial.Serial('/dev/ttyHS2', 115200, timeout=5)
ser.write(b'Hello World!\r\n')
time.sleep(1)
response = ser.read(ser.in_waiting)
print(f'Response: {response}')
ser.close()
Thank you for your time.
Adding to this, 9/9/25 11:13 PM
I’ve tried what was suggested under Topic: How to Enable Hardware UART1 (Pins 8 & 10) on Tachyon?, by mrlambchop on Jun 11. I jumped the the two pins.
Within minicom, after typing some characters and press Enter, it just freezes and no response.
I also verify the dialout group as ericyuan suggested on Jun 11. The output is correct. I ran the script ericyuan posted. It freezes as a result.
The correct pins are connected.