I have got an update, I switched Rx and Tx.
However, it isn’t working probably like the example in jetson hacks.
I am trying to send a string >> “best” from Xavier to my PC however, i am receiving some sort of rubbish like 5$!, the baud rate is the same.
I connected pin 8, 9 and 10 of Xavier to a (male/male rs232 cable) to (rs232 to usb converter cable) to my laptop and using PuTTy.
and the configuration is like follows:
serial_port = serial.Serial(
port=“/dev/ttyTHS0”,
baudrate=115200,
bytesize=serial.EIGHTBITS,
parity=serial.PARITY_NONE,
stopbits=serial.STOPBITS_ONE,
)
at first, it was ttyTHS1 like in the nano example, it didn’t work. I switched it to ttyTHS0 then the port opened however, the data sent is rubbish or encoded strangely.
Is it because of the serial console thing?, I tried the commands that disables it but nothing happened as well.