-
Notifications
You must be signed in to change notification settings - Fork 7.6k
ESP32-S3 WIFI START-STOP-START KO with ESPAsyncWebServer (OK with ESP32) #7268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Is ESPAsyncWebServer really working with other MCUs than ESP32. |
As per my usage, ESPAsyncWebServer works nicely on ESP32-S2 and ESP32-S3, as long as one does not START-STOP-(RE)START WIFI. |
@06GitHub Your sketch with a S3 (AI Thinker ESP-S3-12K FLASH 8Mb PSRAM 8Mb) Ahh, yes. It is offline after stop / start |
@Jason2866 Thanks for spending some time to check this :-)
So same issue occurs on your side, good information ! |
Imho the ESPAsyncWebServer needs to be reviewed. There are open issues and unmerged PRs for. |
ESPAsyncWebServer is brilliant work. Sadly it appears to have been abandoned by the owner. |
hopefully soon |
ESP32-S3 WIFI START-STOP-START is now OK as per test (re)done today Sep 2 2023, see configuration below. Wifi is up again after START-STOP-START sequence, no need to reboot ESP32-S3 after STOP. Problem was encountered about 1 year ago with "arduino-esp32 core" version 2.0.4. Behaviour is now OK with "arduino-esp32 core" version 2.0.9. => Issue Closed Configuration
|
Board
ESP32-S3
Device Description
ESP32-S3 : AI Thinker ESP-S3-12K FLASH 4Mb PSRAM 8Mb
Test has also been done (not shown) with :
ESP32-S2 : SAOLA WROVER FLASH 4Mb PSRAM 8Mb
ESP32 : LILYGO T8 V.1.7.1 4Mb PSRAM 8Mb
Hardware Configuration
Nothing is attached to development board, excepted USB cable between computer and development board (ie bare development board)
Version
v2.0.4
IDE Name
Arduino IDE
Operating System
Windows 10
Flash frequency
80 Mhz
PSRAM enabled
yes
Upload speed
115200
Description
On ESP32-S3, WIFI is KO when triggering starting (#1), stopping and (re)starting (#2) Wifi with ESPAsyncWebServer.
Same KO behaviour for ESP32-S2.
Note this issue does not occur on ESP32 : in other words, it is possible to start/stop/(re)start wifi on ESP32. Maybe there is a regression on ESP32-S3 and ESP32-S2, or the way to stop/(re)start Wifi has changed on ESP32-S3 and ESP32-S2 as compared to ESP32 ?
Such sequence is needed for project because user should be able to activate/deactivate Wifi on his/her own. Since Wifi consumes resources/battery, Wifi should be off when/if user does not need it. Project relies on batteries for power.
On ESP32-S3 (and ESP32-S2), the only way to reactivate Wifi after (re)start #2 is to reboot, which is not user friendly.
Tests have also been done with Wifi Station (not shown) : same KO behaviour for ESP32-S3 and ESP32-S2, and OK behaviour for ESP32. So it seems that issue is not due to Wifi Access Point vs Wifi Station (since same issue occurs) but to ESP32-S3 and ESP32-S2.
Screenshot 1

Screenshot 2

Sketch
Debug Message
Other Steps to Reproduce
As stated above, issue :
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: