How to use Jetson's UART RTS

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()


Hi siancicheng,

Are you using the devkit or custom board for Xavier NX?
What’s your Jetpack version in use?

RTS/CTS is used for HW flow control.
What’s your use case for this feature?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.