-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
esp32c2/esp8464 wifi example connecting AP fails (IDFGH-10456) #11703
Comments
Please try the suggestion here: #10782 (comment) Looks like your board is using a 26 MHz XTAL. If you set the XTAL to 26 MHz in menuconfig, then Wi-Fi will work correctly and you also won't need to set the baud rate to 74800 when running |
Thanks @igrr , it works following you advice! It would be nice to have it noted in some README file. I guess it is a common issue people may encountered with esp32c2. |
I think we have a mention of this in the Getting Started guide for the ESP32-C2: https://docs.espressif.com/projects/esp-idf/en/latest/esp32c2/get-started/linux-macos-setup.html#monitor-the-output. We can also add this to the README of the Wi-Fi station example (examples/wifi/getting_started/station/README.md). |
@igrr Thanks for the reference link. I had once read the getting-started guide for esp32, and I recently switched to esp32c2 developement, so I did not check that document carefully. It does resolve the monitor garbage characters problem, but it does not mention the wifi problem, actually, I just found out without changing the xtal frequency, bluetooth won't work either. So far as I know, this parameter update is needed for wifi or bluetooth to work properly. Thanks again for the reply! |
I had the same issue. Changing the speed to 26MHz solved my problem. UART stayed at 74880 for some apps though. |
Answers checklist.
IDF version.
v5.0.1, v5.0.2
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP8684-DevKit M-1 v1.1
Power Supply used.
USB
What is the expected behavior?
when I supply the correct SSID and password, the example code should connect to the AP successfully. (I've tested the same AP with a ESP32 DevKit, and it works)
What is the actual behavior?
The device fails to connect to the AP.
Steps to reproduce.
Debug Logs.
More Information.
No response
The text was updated successfully, but these errors were encountered: