I'm trying to communicate with a TOSHIBA inverter through RS485.
I use a SN75LBC184 (MAX485 equivalent) connected to RX/TX channels of the BBB through suitable 5v - 3.3v level shifters.
I decided to control the DE/RE pins of the MAX485 in hardware, without enabling RTS/CTS pins of the UART, by means of NE555 as explained here:http://www.mcmajan.com/mcmajanwpr/blog/2014/01/20/arduino-e-rs485/
Unfortunately, Codesys returns RESPONSE_WRONG_SLAVE (see attachment) even if i'm always able to write the registers and spin the motor. Moreover the read function occasionally works fine and i can read the registers but the most of the time the read fails.
Then, i adapted the RS485 shield for Raspberry Pi : https://www.sparkfun.com/products/13706
to work with the BBB but i get the same exact results as above.
I then tried that shield on a Raspberry Pi and I always read and wrote successfully all the registers.
I also loaded the overlay BB-UART4-RS485-00A0 to control directly the MAX485 DE/RE pins through the P9.27 pin but it does not work either. I couldn't see any signal from P9.27 using an oscilloscope.