Team,
I am working on a custom target with ESP32S3-FN8. I am trying to find the power consumption during sleep mode (ULP running). Used ulp_riscv/gpio example and observed current consumption as ~8mA. As per data sheet i do not find any reference how much current consumption is expected with SIP flash. Without SIP flash, data sheet provides details as ~ <5uA.
How do we ensure whether the current consumption which i observe (~8mA) is right value or not? Do we need to turn off any peripherals before enter to sleep mode ? i have turned off regulator which drives other devices which are in my custom board already.
Would be helpful if i get quick reply
Thanks
ULP current consumption with SIP 8MB
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: ULP current consumption with SIP 8MB
SIP flash and non-SIP flash actually are electrically more-or-less the same, so I'd expect power consumption to be similar as well. 8mA sounds like way over what I'd expect.
-
- Posts: 12
- Joined: Tue May 24, 2022 10:46 am
Re: ULP current consumption with SIP 8MB
@ESP_Sprite, Thanks for your response. Yes i also suspect the 8MB seems wrong. But Any inputs where to check? i assume invoking the below codes shall put the chip to sleep mode
ESP_ERROR_CHECK( esp_sleep_enable_ulp_wakeup());
esp_deep_sleep_start();
I do not specifically turn off BT/wifi or any tasks, assuming entry to deep sleep will take care of these all. Am i need to manually handle them before invoke the above?
ESP_ERROR_CHECK( esp_sleep_enable_ulp_wakeup());
esp_deep_sleep_start();
I do not specifically turn off BT/wifi or any tasks, assuming entry to deep sleep will take care of these all. Am i need to manually handle them before invoke the above?
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: ULP current consumption with SIP 8MB
Can you try to flash the examples/system/deep_sleep example in esp-idf to the chip, see if you still get such a high current use?
-
- Posts: 12
- Joined: Tue May 24, 2022 10:46 am
Re: ULP current consumption with SIP 8MB
With deep_sleep example which you specified also i see same 8mA current consumption. The sleep wakeup source in deep_sleep example which i used is ext0. In ulp_riscv/gpio example wakeup source is ulp. I can see the different wakeup sources (using esp_sleep_get_wakeup_cause()) with same reason (DSLEEP - highlighted below)
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x5 (DSLEEP),boot:0x8 (SPI_FAST_FLASH_BOOT)
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x5 (DSLEEP),boot:0x8 (SPI_FAST_FLASH_BOOT)
-
- Posts: 12
- Joined: Tue May 24, 2022 10:46 am
Re: ULP current consumption with SIP 8MB
I have 1 update with respect to the above. I have executed the above example in evaluation board (esp32s3 evk). with evaluation board connected through a external power supply, it consumes 1.2mA during deep sleep. Is this expected value?
The same example in my custom target consumes 8mA. If the value observed in evk is expected, then i need to evaluate the hardware circuits (in brief, it has 1 external flash & 120*272 display). I ensured the display is not consuming power since the regulator is turned off.
@ESP_Sprite, any idea whether the evk board value is correct or not?
The same example in my custom target consumes 8mA. If the value observed in evk is expected, then i need to evaluate the hardware circuits (in brief, it has 1 external flash & 120*272 display). I ensured the display is not consuming power since the regulator is turned off.
@ESP_Sprite, any idea whether the evk board value is correct or not?
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: ULP current consumption with SIP 8MB
Yes, from the eval board i'd expect something like that, as it has a LDO that uses a fair bit of quiescent current as well as some leakage through the USB-serial converter.
Who is online
Users browsing this forum: No registered users and 314 guests