I cannot find much documentation about how to connect from the Jetson Orin AGX (Ubuntu) to a second board using RS232. In my case, the second board is is a shield, sitting on an Arduino Duo.
If these suggestions don’t help and you want to report an issue to us, please attach the model, command/step, and the customized app (if any) with us to reproduce locally.
UART interface. Not sure what you are asking here. In the user manual, it says “RS232A ttyTHS1 serial@3110000”,
full serial console log: I cannot connect using the RS232 connection so far. I have tried logging it using:
usb-cable between jetson and the usb-port of my arduino due
Minicom
The Arduino code below.
But minicoms says Device /dev/ttyTHS1 is locked when I type minicom -D /dev/ttyTHS1 -b 115200
The logfile stays empty.
This is the arduino code I use:
void setup() {
Serial.begin(115200); // USB Serial for logging
while (!Serial) {} // Wait for Serial to be ready
Serial1.begin(9600); // RS232 UART Serial for Jetson communication
Serial.println("Starting RS232 troubleshooting with Jetson...");
}
void loop() {
// Check for data from Jetson over RS232 and log it over USB Serial
if (Serial1.available()) {
char rs232Data = Serial1.read();
Serial.print("Received from RS232 (Jetson): ");
Serial.println(rs232Data);
}
// Send data from USB serial to RS232 (Jetson) for bidirectional testing
if (Serial.available()) {
char usbData = Serial.read();
Serial1.write(usbData); // Send to Jetson
Serial.print("Sent to RS232 (Jetson): ");
Serial.println(usbData);
}
delay(10); // Small delay to prevent overwhelming serial interface
}
Do you get /dev/ttyACM0 from your host after connecting the micro-USB port?
If so, please open that port from your host and you should get the serial console log.
Please share how the block diagram of your conenctions.
Why you said PIN35 for both TX/RX of RS232?
If you want to connect the peripheral device like Arduino through UART interface, you can just connect them from PIN6(GND), PIN8(UART1_TX), PIN10(UART1_RX) of 40-Pin Expansion Header(J30) on AGX Orin.
I am using the 40 pin General Purpose 3.3V I/O Connector. It seems, that the PIN configuration is different for my custom carrier board from Connect Tech.
It seems they have totally different pin usage for 40-pins expansion header on custom carrier board.
You have to check with your vendor(Connect Tech) about the pinmux configuration and usage for RS232.