We are working on custom platform based on RZ/G1E.we need to test RS485 which is configured for HSCIF2.Using current Renesas Serial driver "drivers/tty/serial/sh-sci.c" is it possible to test RS485 ?If not is there any way to test RS485 in RZ/G1E?
Thanks and Regards
Hi Thank you chris for the reply. Is the above suggestion is for half duplex.RX and TX on UART is working fine. Actual requirement is to test RS 485 for Multi drop feature with full duplex communication,where our board is master and 16 slaves are connected.
With MODBUS when i try to read registers after setting slave id for MODBUS it was getting failed and unable to get the required read data. Is there any support or an example available?
But you said you want to use "Full-Duplex", so you should not need the RS485 ioctl commands. You can leave the transmit driver always on, and you can leave the receive driver always on. So then it will just work like normal serial communications, and the current sh_sci driver will work fine.
It's only the case of Half-Duplex that you get into issues (when you have to turn the transceiver on and off)
Have you confirmed that the Tx signals are reaching the slaves correctly? And that the correct slave is driving the line back to the master (RZ/G)?