Granity and serial port interface

I exchanged the USB-SMV2 for a FTDI RS422/485 interface (full reference is: USB-RS422-WE-5000-BT) for communicating between a PC and a IONI PRO, and I am in trouble:

  • with Granity, I got an error message “Unsupported device model connected. Try upgrading Granity to latest version. Connected device ID 6020”. But I have the latest version of Granity AFAIK (1.15.3 win64). This message seems to arise whenever the adapter is plugged in, whatever the port settings are (and even without a IONI connected).
  • with my own software using the API, the communication is started with smOpenBus but then anything goes wrong (eg. IONI serial number and HV voltage incorrectly retrieved, etc).

Does the system still work with the other adapter you used? So can we rule out the IONI itself from being the cause of the issue?

Yes, everything is ok with the USB-SMV2.

I guess this is a local echo problem: my adapter is inherently a RS422 interface, where TX and RX are looped together (a test in a terminal window confirms this local echo: it works!).
The adapter configuration provides no local echo cancellation.

I suppose I just have to use another adapter :face_with_hand_over_mouth:

BTW apart from the 460800 bit/s speedrate, I cannot see any info on parity, stop bits… :thinking:

Sorry to have bothered you: with a “native” RS485 adapter, it works :smiley_cat:

Information for the parity and stop bits is here:

https://granitedevices.com/wiki/SimpleMotion_V2_port