I guess I may have found a bug in the ESP8266 hardware / UART1 interface. Bit 31 of register 0x60000F1C (UART1 status register) should mirror the TX level of UART1. However, I found it to be always 0.
A workaround is actually to enable loopback mode for UART1 and read bit 15 of register 0x60000F1C, which mirrors the RX level. Since UART1 is TX only (?) that's not a huge problem.
The code I used to test this can be found here:
I'd appreciate if someone can confirm this.
Who is online
Users browsing this forum: No registered users and 2 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!