esp-at
esp-at copied to clipboard
sleep and wake-up problem
Hello, I have some trouble with AT+SLEEP command. The module goes to appropriate sleep mode, but UART communication (on GPIO 16, 17) stops work correctly. Its obvious that modem sleep and light sleep modes AT+SLEEP=1, AT+SLEEP=2, AT+SLEEP=3 generate the same problem. I use GPIO2 connected to RTC to wake-up from light sleep.
Thank you, Honzik
Hello, I tested UART hardware flow control AT+UART_CUR=115200,8,1,0,3, but it's not working. I have also used hardware flow control on esp8266 without problem. RTS, CTS is set on host processor in same settings as was on esp8266.
I have added flow control because I think, that the problem of bad UART communication after activating sleep mode could be caused by no hardware flow control. After some tests I have to say, that AT+UART_CUR=115200,8,1,0,3 setting doesn't work.
Hardware configuration: ESP32-SOLO-1 module GPIO16 is RXD => TXD (on host MCU) - works! GPIO17 is TXD => RXD (on host MCU) - works! GPIO14 is RTS => CTS (on host MCU) GPIO15 is CTS => RTS (on host MCU)
Thank you, Honzik
Has anybody tried any sleep mode (from SLEEP=1 to SLEEP=3) or has anybody tried hardware (rts, cts) flowcontrol ? My ideas are exhausted. Please help, I can't continue in my IoT project without light-sleep and hardware flow control activated.
Thank you, Honzik