Modbus RTU problem with de signal
Modbus RTU problem with de signal
I'm using the modbus master example, since I'm having problems with the communication of my device I examined the signals on the TX RX and DE pins. Below you can see that the EN signal goes low before TX finishes transmitting.
How can I fix this? Modbus speed 9600 TX - GPIO23 RX - GPIO22 DE - GPIO18-
- Posts: 211
- Joined: Fri Feb 01, 2019 4:02 pm
- Contact:
Re: Modbus RTU problem with de signal
Hi @luk_ab,
Which version of esp-idf you are using? The issue you describe looks as already resolved issue with the UART driver in RS485 mode.
Which version of esp-idf you are using? The issue you describe looks as already resolved issue with the UART driver in RS485 mode.
Re: Modbus RTU problem with de signal
Hi @ESP_alisytsyn in this project I am using ESP-IDF v5.1.2 communication I run on UART 2. I momentarily coped by using a separate task to control the DE pin. From which version of IDF does this work correctly?
-
- Posts: 211
- Joined: Fri Feb 01, 2019 4:02 pm
- Contact:
Re: Modbus RTU problem with de signal
Hi @luk_ab,
Sorry for the late response.
As per my information the issue is fixed by commit https://github.com/espressif/esp-idf/co ... 9338ccdf37
Sorry for the late response.
As per my information the issue is fixed by commit https://github.com/espressif/esp-idf/co ... 9338ccdf37
Who is online
Users browsing this forum: Google [Bot] and 101 guests