RS232

I’m using jetson agx orin to test the RS232 serial port, but I’m having a problem now, my serial port assistant can’t receive commands from my PC, and the PC can’t receive messages from the serial port assistant either

Hi 517975332,

Are you using the devkit or custom board for AGX Orin?
What’s the Jetpack version in use?

Can it work before?
If not, please share the block diagram of your connections for better knowing your use case. Is it an USB-Serial cable? USB to the host PC and serial cable to AGX Orin?(which pins?)
Do you enable any SW/HW flow control in your case?

thanks!The Jetpack version is V5.1.1.
image
I used UART3 for testing and my last experiment used RS485 RTS for communication and it worked, here is part of my RS485 code.


TX mode:

In the original code, system(“echo 1 > /sys/class/gpio/PR.04/value”) is used to set RTS mode.

Now it is changed to system(“echo 1 > /sys/class/gpio/PCC.05/value”) to set TX mode.

RX mode:

In the original code, system(“echo 0 > /sys/class/gpio/PR.04/value”) is used to set CTS mode.

Now it is changed to system(“echo 0 > /sys/class/gpio/PCC.06/value”) for setting RX mode.

It seems you are using DEBUG UART interface to transform to RS485/RS232.

In your original code, it is expected to control RTS/CTS pins high/low.
In your current code, it is not the expected operation to me to control TX/RX pin high/low manually since they are data lines.

Could you help to clarify about your use case?
Why you have the requirement to transform debug UART TX/RX to RS232?

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