This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Zephyr MODBUS samples

Hi

We wan't use in our project some MODBUS sensors and I found, that Nordic Connect SDK (I use version 1.9.1) with Zephyr has support for MODBUS. I tried the samples (rtu- server and rtu-client), but I don't get  them work. They  compile OK and if I look with logic analyzer, client is asking and the server is answering with right data and frames, but client shows always:

Everything is connected as it should (server is answering). Has anyone tried the MODBUS samples and get them to work?

I add also logic analyzer images:

That is the client asking

And server answers:

Tiit

Parents Reply
  • Yes :

    &arduino_serial {
        status = "okay";

        modbus0 {
            compatible = "zephyr,modbus-serial";
            label = "MODBUS0";
            status = "okay";
            //de-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>;  /* D9 */
        };
    };
     
    Tiit
Children
No Data
Related