Does anyone have any experience with integrating the RS-485 half-duplex interface on the Jetson TX2 platform?
We have tried to use serial_rs485 structure and enable uart RTS pin for Transmit/Receive control. For this purpose we have used serial port available on connector J17, which is accessed via /dev/ttyTHS2. This is port configuration structure:
The result is that we get Error (25) - Inappropriate ioctl for device, so we failed to configure the port and don’t see toggling RTS pin using oscilloscope.
We would like to use this kind of interface for general purpose communication between TX2 and peripheral devices (equipment).
One of our devices is camera with RS-485 interface in half-duplex mode.
Linux generally supports this type of communication interface, but something also depends on hardware platform. We saw in serial_core.c (from TX2 kernel source) that there is some support for RS485, but it doesn’t work when we try to use it.
Do you have/need some closer information or hints what to try to make this work?