error: pll_cal exceeds 2ms! wifi issue #9412
Replies: 3 comments 1 reply
-
This is a power issue. I don't know how you are managing your power, but once the battery is unable to adequately supply the LDO, you are not going to get enough current to start WiFi. |
Beta Was this translation helpful? Give feedback.
-
This is not an Arduino issue. I'll transfer it to the discussion session. Please treck it there. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Well, what I can tell you is that I have definitely seen that error pop up when the device was not getting enough current. I use a battery charger chip on my designs, and it allows adjustment of the current. At 100mA (with no battery), it gives this error. At 200mA, no error. |
Beta Was this translation helpful? Give feedback.
-
Board
esp32c6
Device Description
dfrobot firebeetle 2
Hardware Configuration
this board has a waveshare display and is powered by a 2000mah battery
Version
latest development Release Candidate (RC-X)
IDE Name
Arduino IDE
Operating System
Windows 11
Flash frequency
80Mhz
PSRAM enabled
no
Upload speed
921600
Description
while operating on battery (as far as i know not happening while connected via usb) and waking up after deep-sleep mode (after a few hours of doing so), the device refuses to connect to any WiFI networks and prints this message into the Serial interface when booting: error:
pll_cal exceeds 2ms!
.the board went to sleep and booted for about 5 days perfectly without fail and always connected to the internet afterwards, this issue started just yesterday, when i saw that the display had old data on it, when i plugged in my pc while on battery, i saw the message above and a constant reboot loop, because it cannot connect.
i have found out that the hardware reset button fixes this issue, but pressing this every time is not good enough, i have written code to reset the device via software, tried ESP.restart() that didn't work, abort() also without luck, next thing to try will be a cable connected with gpio to the rst button.
As of now i also don't know the exact time it takes for this problem to happen, but once it happens the device can only recover via hardware reset.
currently i also have not found any info on the internet, but i did find one that has the same board and problem as me here: esp8266/Arduino#2566 (comment)
i also opened a forum post on the dfrobot page here: https://www.dfrobot.com/forum/topic/334203
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
Beta Was this translation helpful? Give feedback.
All reactions