ESP-Modbus over UART0

rshewan
Posts: 3
Joined: Mon Apr 14, 2025 1:10 pm

ESP-Modbus over UART0

Postby rshewan » Mon Apr 21, 2025 3:47 pm

Environment: MacOS | Visual Studio Code | ESP-IDF 5.4.1 | ESP32-S3-DevKitC-1-N8R8 | ESP32-S3-WROOM-1
Code: ESP-Modbus v2.0.2 | examples/serial_master.c

I am attempting to run ESP-Modbus example code over UART0 that is connected to the USB-UART bridge on the board.

What configuration settings do I need to accomplish this?

I have, in the recent past, been able to build and run the example code with some modifications to the point where, as evidenced by the log output, it cycles through the defined CIDs (modbus requests). Unfortunately, it seems that there is a conflict in use of UART0 or the I/O pins in use.

Who is online

Users browsing this forum: No registered users and 1 guest