I’m not good at computer communication at low level. And I want to send some message through the Xavier’s UART in the 40-pin Expansion Header. I can not figure out where is the ttyTHS0 and how I can use it.
There is an error as following when I try to open the ttyTHS0 port in python.
import serial ser = serial.Serial() ser.baudrate = 115200 ser.port = '/dev/ttyTHS0' ser.open()
error traceback as follows,
could not open port ttyTHS0: no such file or directory: ‘ttyTHS0’
But I can find ttyTHS0 is in
So how can I send message to slave computer by serial port in python?