Hello,
I would like to know if the nRF9160 supports RS485 MODBUS Communication protocol ?
Hello,
I would like to know if the nRF9160 supports RS485 MODBUS Communication protocol ?
Hi
The nRF9160 does not have RS485 support, no.
You would need some kind of driver chip to convert from UART to RS485.
Best regards
Torbjørn
Hello Torbjorn,
would the STR485 be suitable? What about the software side ?
Hi Adeel
That is excellent news, thanks for sharing your findings
Feel free to verify your answer, then it is easier to see that the case is resolved if someone with a similar issue discovers it.
Best regards
Torbjørn
Hi Tobjorn,
Just wanted to let you know that this library can be used and is compatible with Zephyr.
http://jacajack.github.io/liblightmodbus/master_8h.html#afbcff357011e2f7c2eb0469ef80e0d7d
I worked around with it and got it working :). So, if anyone needs any info to start over with modbus, you can suggest this alternative.
Regards,
Adeel.
Hi Adeel,
Could you please let me know how did you work around the liblightmodbus library to work with. It would be very helpful.
Best regards
yugesh
Hi Yugesh,
You can get started with this Github project that includes liblightmodbus sample : https://github.com/linumiz/zephyr/tree/liblightmodbus
It has been configured to be used with Zephyr. So you can work around with this :) .
Regards,
Adeel.
Hi Adeel,
Thank you so much for your information :).
Regards,
yugesh
Hi Adeel,
I am trying to setup modbus(RS485) comm using Zephyr modbus example in v1.9.0.
But i am getting timeout error.
i raised the following ticket
Modbus(RS485) communication using UART1 on Nrf9160
Please suggest
Hi Adeel,
I am trying to setup modbus(RS485) comm using Zephyr modbus example in v1.9.0.
But i am getting timeout error.
i raised the following ticket
Modbus(RS485) communication using UART1 on Nrf9160
Please suggest