A replacement for _uart.wait_tx_done in esp32
Posted: Thu Jun 20, 2019 8:45 pm
Good Evening,
Many libraries that implement UART comunication in the PyBoard relies on the use of machine.UART.wait_tx_done(ms) to do delays in half or full duplex communications. https://docs.pycom.io/firmwareapi/pycom ... /uart.html
But micropython image for ESP32 (as far as I was able to seach) do not have this method implemented. I also couldn't find the Pycom wait_tx_done(ms) implementation... It seems that it is some sort of C function of the machine lib of their repo.
Am I missing something? How do you guys replaced the wait_tx_done? My application uses RTU modbus, and these delays are killing me
thanks for the help!
Many libraries that implement UART comunication in the PyBoard relies on the use of machine.UART.wait_tx_done(ms) to do delays in half or full duplex communications. https://docs.pycom.io/firmwareapi/pycom ... /uart.html
But micropython image for ESP32 (as far as I was able to seach) do not have this method implemented. I also couldn't find the Pycom wait_tx_done(ms) implementation... It seems that it is some sort of C function of the machine lib of their repo.
Am I missing something? How do you guys replaced the wait_tx_done? My application uses RTU modbus, and these delays are killing me

thanks for the help!