esp-idf: ESP32-C2 / ESP8684 softAP not working / visible (IDFGH-9413)
Answers checklist.
- I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
- I have searched the issue tracker for a similar issue and not found a similar issue.
IDF version.
v5.1-dev-3405-g8ba96ab873
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
CMD
Development Kit.
ESP8684-DevKitM-1-H4
Power Supply used.
USB
What is the expected behavior?
The WiFi softAP Example should start an AP which is visible to other devices. The same example works on ESP32-C3 but not on ESP32-C2. Same behaviour with diffrent ESP8684 and also with a ESP8684 based custom board. With ESP32-C3 everything works as expected.
What is the actual behavior?
The device log shows that the AP is active and no error but the wifi network is not visible to other devices.
Steps to reproduce.
- Use ESP8684 dev board
- set target to esp32c2
- flash and moniror WiFi softAP Example
- use any device and try to connect to the AP
Debug Logs.
I (379) main_task: Calling app_main()
I (389) wifi softAP: ESP_WIFI_MODE_AP
I (399) pp: pp rom version: de8c800
I (399) net80211: net80211 rom version: de8c800
I (409) wifi:wifi driver task: 3fcb748c, prio:23, stack:6144, core=0
W (409) wifi: [ieee80211_ioctl.c,2100] wifi firmware version: 5b8642d
W (409) wifi: [ieee80211_ioctl.c,2101] wifi certification version: v7.0
W (419) wifi: [ieee80211_ioctl.c,2102] config NVS flash: enabled
W (419) wifi: [ieee80211_ioctl.c,2103] config nano formating: enabled
W (429) wifi: [esf_buf.c,423] Init data frame dynamic rx buffer num: 32
W (429) wifi: [esf_buf.c,430] Init management frame dynamic rx buffer num: 32
W (439) wifi: [esf_buf.c,437] Init management short buffer num: 32
W (449) wifi: [esf_buf.c,455] Init dynamic tx buffer num: 32
W (449) wifi: [esf_buf.c,477] Init static tx FG buffer num: 2
I (459) wifi:Init static rx buffer size: 1600
I (459) wifi:Init static rx buffer num: 10
I (469) wifi:Init dynamic rx buffer num: 32
I (469) wifi_init: rx ba win: 6
I (469) wifi_init: tcpip mbox: 32
I (479) wifi_init: udp mbox: 6
I (479) wifi_init: tcp mbox: 6
I (479) wifi_init: tcp tx win: 5744
I (489) wifi_init: tcp rx win: 5744
I (489) wifi_init: tcp mss: 1440
I (499) wifi_init: WiFi IRAM OP enabled
I (499) wifi_init: WiFi RX IRAM OP enabled
I (509) phy_init: phy_version 210,e134770,Oct 20 2022,15:26:13
W (539) wifi: [hal_mac.c,606] WDEVBBRXHUNG:0xc00000f0, en:1, timer:240(3840 us)
W (539) wifi: [hal_mac.c,608] WDEVBBTXHUNG:0x800000f0, en:1, timer:240(3840 us)
W (539) wifi: [hal_mac.c,610] WDEVBBCCAHUNG:0xf0, en:0, timer:240(3840 us)
W (549) wifi: [hal_mac.c,615] WDEVHUNGRECOVER:0xffff2710, rxHungRecover[en:1, timer:32767 cycles(409 us)], txHungRecover[en:0, timer:10000 cycles(125 us)]
W (559) wifi: [ieee80211.c,474] mode : softAP (08:3a:8d:40:d7:e5)
W (569) wifi: [ieee80211_power.c,111] Total power save buffer number: 16
W (579) wifi: [ieee80211_ets.c,89] Init max length of beacon: 752/752
W (579) wifi: [ieee80211_ets.c,89] Init max length of beacon: 752/752
I (589) esp_netif_lwip: DHCP server started on interface WIFI_AP_DEF with IP: 192.168.4.1
I (599) wifi softAP: wifi_init_softap finished. SSID:myssid password:mypassword channel:1
I (609) main_task: Returned from app_main()
More Information.
I also tried v5.0, v5.1-dev and master without success.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 18
@tsVestor could you please switch to 26MHz XTAL and give it a try.
idf.py menuconfig->Component config->Hardware Settings->Main XTAL Config->Main XTAL frequency->26 MHz