esp32s3进入light_sleep时,出现RTCWDT_RTC_RST重启原因?

ESP_Gargamel
Posts: 786
Joined: Wed Nov 14, 2018 8:45 am

Re: esp32s3进入light_sleep时,出现RTCWDT_RTC_RST重启原因?

Postby ESP_Gargamel » Thu Aug 04, 2022 8:17 am

Code: Select all

[2022-08-04 15:11:39.591] I (2927) wifi station: retry to connect to the AP
[2022-08-04 15:11:39.596] I (2927) wifi station: connect to the AP fail
[2022-08-04 15:11:39.691] I (3037) wifi:flush txq
[2022-08-04 15:11:39.691] I (3037) wifi:stop sw txq
[2022-08-04 15:11:39.691] I (3037) wifi:lmac stop hw txq
[2022-08-04 15:11:39.697] I (3037) wifi station: enter low power...
[2022-08-04 15:11:40.698] t = 150000
[2022-08-04 15:12:10.613] I (4047) wifi:mode : sta (7c:df:a1:e0:11:8c)
[2022-08-04 15:12:10.613] I (4047) wifi:enable tsf
[2022-08-04 15:12:10.619] I (4047) wifi station: Returned from light sleep, reason: timer
[2022-08-04 15:12:10.624] I (4057) wifi:new:<8,0>, old:<1,0>, ap:<255,255>, sta:<8,0>, prof:1
是这样的时间戳,需要串口工具自动生成,不是固件里面打。

比较奇怪,当 stage_timeout_ticks 比较小的时候,是能造出 RTCWDT_RTC_RST 的,但你这里 stage_timeout_ticks 也是正常的。

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

Re: esp32s3进入light_sleep时,出现RTCWDT_RTC_RST重启原因?

Postby linshc » Thu Aug 04, 2022 8:41 am

Code: Select all

[2022-08-04 16:36:39.735] I (12408) wifi station: retry to connect to the AP
[2022-08-04 16:36:39.735] I (12418) wifi station: connect to the AP fail
[2022-08-04 16:36:39.735] I (12448) wifi:flush txq
[2022-08-04 16:36:39.760] I (12448) wifi:stop sw txq
[2022-08-04 16:36:39.760] I (12448) wifi:lmac stop hw txq
[2022-08-04 16:36:39.760] I (12448) wifi station: enter low power...
[2022-08-04 16:36:39.760] t = 150000
[2022-08-04 16:36:40.781] ESP-ROM:esp32s3-20210327
[2022-08-04 16:36:40.920] Build:Mar 27 2021
[2022-08-04 16:36:40.920] rst:0x10 (RTCWDT_RTC_RST),boot:0xa (SPI_FAST_FLASH_BOOT)
[2022-08-04 16:36:40.920] SPIWP:0xee
[2022-08-04 16:36:40.920] mode:DIO, clock div:1
[2022-08-04 16:36:40.920] load:0x3fcd0108,len:0x1650
[2022-08-04 16:36:40.920] load:0x403b6000,len:0xb7c
[2022-08-04 16:36:40.920] load:0x403ba000,len:0x2f64
[2022-08-04 16:36:40.920] entry 0x403b6248
嗯,SDKconfig里面配置的RTC时钟源也是使用内置150Khz RC oscillator

ESP_Gargamel
Posts: 786
Joined: Wed Nov 14, 2018 8:45 am

Re: esp32s3进入light_sleep时,出现RTCWDT_RTC_RST重启原因?

Postby ESP_Gargamel » Fri Aug 05, 2022 1:29 am

暂时没有太好的想法,能否做以下尝试:
1、使用最新的 release/v4.4 分支,暂不确定是否有后期的改动对此问题有影响;
2、sleep 过程中,wifi stop 后,再加上 wifi deinit,醒来后重新做 wifi init;
3、开发板上,先焊接和安信可开发板或 ESP DevKitC 相似的电路,确保最小系统没问题,然后再逐步添加外围电路,做逐步的排查;

Who is online

Users browsing this forum: No registered users and 69 guests