ULP current consumption with SIP 8MB

karthikkrv85
Posts: 12
Joined: Tue May 24, 2022 10:46 am

ULP current consumption with SIP 8MB

Postby karthikkrv85 » Fri Sep 16, 2022 2:37 pm

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

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: ULP current consumption with SIP 8MB

Postby ESP_Sprite » Sat Sep 17, 2022 1:20 am

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.

karthikkrv85
Posts: 12
Joined: Tue May 24, 2022 10:46 am

Re: ULP current consumption with SIP 8MB

Postby karthikkrv85 » Mon Sep 19, 2022 1:51 pm

@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_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: ULP current consumption with SIP 8MB

Postby ESP_Sprite » Tue Sep 20, 2022 12:41 am

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?

karthikkrv85
Posts: 12
Joined: Tue May 24, 2022 10:46 am

Re: ULP current consumption with SIP 8MB

Postby karthikkrv85 » Tue Sep 20, 2022 1:30 pm

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)

karthikkrv85
Posts: 12
Joined: Tue May 24, 2022 10:46 am

Re: ULP current consumption with SIP 8MB

Postby karthikkrv85 » Mon Sep 26, 2022 6:27 am

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?

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: ULP current consumption with SIP 8MB

Postby ESP_Sprite » Tue Sep 27, 2022 2:01 am

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 110 guests