Modbus host initialization configuration #100776
-
|
overlay File settings prj.conf settings CONFIG_MODBUS=y int init_modbus_server(void) if (client_iface < 0) { int es_modbus_master_init(void) err = modbus_read_input_regs(client_iface, PM_BOARD_SLAVE_ADDRESS, 0, reg_buf, PM_BOARD_VALUE_REG_QUANTITY); This error occurred on the serial port.: This has caused the system to be unable to read data properly. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Disable the CONFIG_MODBUS_SERIAL_ASYNC_API function. |
Beta Was this translation helpful? Give feedback.
Disable the CONFIG_MODBUS_SERIAL_ASYNC_API function.