I’m using a Jetson Orin Nano Developer Kit and trying to communicate with my notebook PC via RS485.
My setup is:
Jetson Orin Nano (/dev/ttyTHS1) ↔ DFR0845 (RS485-to-UART, auto-direction control) ↔ USB-to-RS485 adapter ↔ Notebook PC
The issue is:
Notebook → Jetson: Communication works correctly.
Jetson → Notebook: No communication.
I have already checked the wiring.
One thing that may be important is that the UART TX and RX lines are connected directly (TX-to-TX and RX-to-RX). If I cross-connect TX and RX, communication does not work in either direction. With the current wiring, communication from the notebook to the Jetson works properly, but communication from the Jetson to the notebook does not.
Since the DFR0845 uses automatic direction control, I do not have any DE/RE control signals connected.
What could be causing this one-way communication issue, and how can I troubleshoot it?
Based on the title and content of your topic, it looks like it may receive better visibility and feedback in a different category. We took the liberty of moving it for you.
If this was an incorrect assessment, please send me a direct message.
Disclaimer: this moderation suggestion and message were generated with AI assistance.
— 🤖 This is an automated AI response. I’m here to help, but please verify important details! —
To troubleshoot the one-way communication issue with your Jetson Orin Nano and notebook PC via RS485, let’s consider the information provided in the context.
First, it’s essential to understand that the Jetson Orin Nano’s UART is a duplex UART, which means it’s designed for full-duplex communication. However, RS485 is a half-duplex protocol, requiring a mechanism to control the direction of data transmission.
In your setup, you’re using the DFR0845 board, which has hardware half-duplex control to avoid timing issues on the GPIO pins for switching RE and DE on the Max485. This suggests that the board should be able to handle the direction control automatically.
Given that communication from the notebook to the Jetson works correctly, but not from the Jetson to the notebook, it’s possible that the issue lies in the way the UART signals are being driven or received.
One potential cause could be the current limiting on the Jetson’s TX pin, as hinted at in the community solution. The TX wire being connected directly (TX-to-TX) might not be the issue, as crossing the TX and RX lines doesn’t work in either direction for you.
To troubleshoot further:
Verify the UART configuration: Ensure that the UART on the Jetson Orin Nano is properly configured for RS485 communication. This includes setting the correct baud rate, data bits, parity, and stop bits.
Check the signal levels: Use an oscilloscope to verify the signal levels on the TX and RX lines of the Jetson Orin Nano and the DFR0845 board. This can help identify if there’s a signal integrity issue or if the signals are not being driven correctly.
Investigate the auto-direction control: Although the DFR0845 is supposed to handle direction control automatically, it might be worth investigating if this feature is functioning correctly. Check the documentation of the DFR0845 to see if there are any specific settings or configurations needed for the auto-direction control to work properly.
Consider using a logic buffer: As mentioned in one of the community solutions, using a logic buffer (like the SN74AHCT125N) can help improve the signal quality and drive capability. This might be necessary if the Jetson’s TX pin is not capable of driving the signal strongly enough for the RS485 communication.
Review the device tree settings: Ensure that the device tree settings for the RS485 pins are correct. This includes verifying that the pins are configured as outputs and that the pull-up or pull-down resistors are set appropriately.
By systematically checking these potential causes and adjusting your setup accordingly, you should be able to identify and resolve the issue preventing communication from the Jetson to the notebook.
— We support team will also look into your issue to have further suggestions soon. please stay tuned. —