ESP32 WROOM-32下载wifi station示例,一直重启

linshc
Posts: 59
Joined: Mon Feb 21, 2022 2:06 am

ESP32 WROOM-32下载wifi station示例,一直重启

Postby linshc » Mon Feb 21, 2022 6:29 am

Code: Select all

I (523) wifi station: ESP_WIFI_MODE_STA
I (533) wifi:wifi driver task: 3ffc185c, prio:23, stack:6656, core=0
I (533) system_api: Base MAC address is not set
I (533) system_api: read default base MAC address from EFUSE
I (543) wifi:wifi firmware version: 88c8747
I (543) wifi:wifi certification version: v7.0
I (543) wifi:config NVS flash: enabled
I (553) wifi:config nano formating: disabled
I (553) wifi:Init data frame dynamic rx buffer num: 32
I (553) wifi:Init management frame dynamic rx buffer num: 32
I (563) wifi:Init management short buffer num: 32
I (563) wifi:Init dynamic tx buffer num: 32
I (573) wifi:Init static rx buffer size: 1600
I (573) wifi:Init static rx buffer num: 10
I (583) wifi:Init dynamic rx buffer num: 32
I (583) wifi_init: rx ba win: 6
I (583) wifi_init: tcpip mbox: 32
I (593) wifi_init: udp mbox: 6
I (593) wifi_init: tcp mbox: 6
I (603) wifi_init: tcp tx win: 5744
I (603) wifi_init: tcp rx win: 5744
I (603) wifi_init: tcp mss: 1440
I (613) wifi_init: WiFi IRAM OP enabled
I (613) wifi_init: WiFi RX IRAM OP enabled
I (623) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
W (623) phy_init: failed to load RF calibration data (0x1102), falling back to full calibration
ClearCommError failed (PermissionError(13, '???????????????', None, 5))
Waiting for the device to reconnect
我使用的ESP-IDF是v4.3.1版本,导入官方的示例,修改了连接wifi的名称和密码,编译,下载程序后,出现一直重启的现象。目前不知道是什么原因。望知道的大佬指点一下。

linshc
Posts: 59
Joined: Mon Feb 21, 2022 2:06 am

Re: ESP32 WROOM-32下载wifi station示例,一直重启

Postby linshc » Mon Feb 21, 2022 7:33 am

找出问题了,是因为使用的USB给模组供电。在使用wifi时,他的电量是“突发的”,在启动wifi时,芯片内部电量不够,会导致重启。LDO要提供500ma或更大的电流,才能使用wifi。这时,直接给模块的3.3供电,就能解决这个问题。

linshc
Posts: 59
Joined: Mon Feb 21, 2022 2:06 am

Re: ESP32 WROOM-32下载wifi station示例,一直重启

Postby linshc » Mon Feb 21, 2022 12:46 pm

此问题已经得到解决。是由于使用的USB供电,而wifi的瞬时电流很大,导致供电不足,模块一直重启。需要再给ESP32芯片供3.3v的点,即可。

Who is online

Users browsing this forum: No registered users and 88 guests