← index #9929Issue #6641
Related · high · value 0.453
QUERY · ISSUE

ESP32 - Bluetooth - BLE scan and WIFI not works same time.

openby stragaopened 2022-11-12updated 2023-10-17
bug

ESP32 rev1 and rev3. Board without psram.
Try with ESP-IDF, 4.4.1 and 4.4.3, micropython from master

Suppose running asyncio in the thread. Task call ble.scan. Wifi works not good. At first look ok, But if you try from FTP download/upload some or other. Wifi stops working normally.

<img width="646" alt="image" src="https://user-images.githubusercontent.com/34532/201466036-86465512-b6c1-4729-b9ea-4212930859c6.png">

If run asyncio without thread. All works normally.
<img width="754" alt="image" src="https://user-images.githubusercontent.com/34532/201466074-b0f34aa4-281b-44d9-a441-ceceec32f8cc.png">

Firmware:
4m_straga_core.zip

main.py and ftp.py for test.

test_ble.zip

I test with asyncio with out thread, wifi stop work too. But only if load from FTP big file.

CANDIDATE · ISSUE

Simultaneous LAN8720 and WIFI connection will render ESP32-WROOM network functions unusable

closedby enesbcsopened 2020-11-21updated 2025-03-03
port-esp32needs-info

I've done several tests on multiple ESP32 boards with LAN8720 (integrated and external also)- ESPIDF 3.3 and MicroPython 1.13:

On ESP32-WROVER with 4MB PSRAM:
-WiFi STA only: works OK
-LAN8720 only: works OK
-WiFi STA + LAN8720 at the same time works OK

On ESP32-WROOM with no PSRAM:
-WiFi STA only: works OK
-LAN8720 only: works OK
-WiFi STA + LAN8720 activated at the same time -> wired connection is available but webserver stops responding after a time anyway - [Errno 110] ETIMEDOUT
wifi sta connection get IP address but webserver is not available on that IP, the log contains some errors like:

I (151110) wifi:bcn_timout,ap_probe_send_start
I (153610) wifi:ap_probe_send over, resett wifi status to disassoc

Is it an ESPIDF limitation or may be patched in micropython somehow?

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied