Hi,
pls advise, is there a way to get RS485 direction control signal out of GPIO when /dev/ttyS4 (gpio pins 15, 16) is used to communicate with RS485 bus?
That control signal should be high when transmitting. It is possible to create such a direction control signal with external logic based on TX from Khadas, but it would much simpler if one of the GPIO pins would be usable as direction control output.
I have that that (TTL/RS485 interface) on the IO-board, connected to the 40-pin header of VIM. But there the RS485 direction control signal is calculated by a (PIC) microcontroller, taking the communication parameters into account. Was just wondering if I could skip that in some future designs…
Anyway, no problem, I can always use an USB-to-RS485 cable to get RS485.