I am using UART1 on Jetson Xavier NX and observing the RTS signal state with a logic analyzer. However, there are no changes in the state of this pin. Is there any way to utilize the RTS pin of UART1?
This is my code,
import serial
import time
ser = serial.Serial('/dev/ttyTHS0', 9600) # Modify the serial port and baud rate according to your setup
# Keep the program running indefinitely
while True:
ser.setRTS(True)
time.sleep(1)
data = 50
ser.write(data)
ser.setRTS(False)
time.sleep(1)
ser.close()