APEX ORIN NX II RS232 Interface#
Hardware Specifications#

DB9 Pin Definition for the UART Interface:

Pin Definition
Pin |
Signal |
|---|---|
2 |
RX |
3 |
TX |
5 |
GND |
Relationship between Functions and Device Nodes#
Function |
Overview |
Device Node |
|---|---|---|
UART(232)A |
RS232 A |
/dev/ttyUART_232_A |
UART(232)B |
RS232 B |
/dev/ttyUART_232_B |
UART(232)C |
RS232 C |
/dev/ttyUART_232_C |
UART(232)D |
RS232 D |
/dev/ttyUART_232_D |
Usage#
Connect connector 1 to the device’s RS232 connector
Connect connector 2 to the PC

Preparation#
PC (Ubuntu)
# Install
sudo apt-get install putty -y
Device
# Install
sudo apt-get install putty -y
Transmit and Receive Verification#
Device
# Open PuTTY
sudo putty
In PuTTY, configure “Session”: enter the connected device node in “Serial line”, set “Speed” to 115200, and select “Serial” under “Connection type”.

Under “Terminal”, select “Force on” in “Line discipline options”, then click “Open” to enter the data transfer window.

PC
Obtain the UART Device Node on the PC
# After connecting the USB-to-serial module to the PC, run the following command to obtain the UART device node:
ls /dev | grep -E 'ttyUSB[0-9]+' | sort -V | tail -n 1
# Open PuTTY
sudo putty
In PuTTY, configure “Session”: enter the connected device node in “Serial line”, set “Speed” to 115200, and select “Serial” under “Connection type”.

Under “Terminal”, select “Force on” in “Line discipline options”, then click “Open” to enter the data transfer window.

Use PuTTY to Verify Transmission and Reception
Observe the data transfer windows on the device and PC. Enter text in either window. If both windows display the same text, transmission and reception are successful.
PC Display

Device Display
