I have raspberry pi3 compute module board and want to interface RS485 via GPIO14 & GPIO15.
We developed add-on board using IC485 transceiver, connected TXD and RXD to DI & RO pins, and also we connected RE and DE pins to two different GPIOs.
Can you please tell us how we can perform the RS485 tx & rx in full duplex mode ? any driver change ?
I have used the same RS485 circuit in our another ARM board and used the following dts code, it worked.
Code: Select all
rts-gpio = <&gpio0 22 0>; //RE pin
rs485-rts-delay = <0 0>;
enable-active-high;
rs485-rts-active-high;
linux,rs485-enabled-at-boot-time;
https://www.spinics.net/lists/arm-kernel/msg597518.html
Can you please suggest on this?