ESP32 WROVER pSRAM Quiescent current

kilobyte_ch
Posts: 12
Joined: Wed Apr 19, 2017 2:17 pm

ESP32 WROVER pSRAM Quiescent current

Postby kilobyte_ch » Thu Nov 16, 2017 12:27 pm

Hello

I'm just asking if and how big the difference of the quiescent current between the ESP32 WROVER and ESP32 WROOM Module should be in deep sleep mode.

Thanks

Kilobyte

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: ESP32 WROVER pSRAM Quiescent current

Postby loboris » Thu Nov 16, 2017 2:57 pm

Maximal standby current of ESP-PSRAM32 is 50 uA, but it is powered by VDD_SDIO and is powered down before entering deep sleep (same as Flash chip).
As a result, there is no difference in current consumption in deep sleep between ESP32 WROVER and ESP32 WROOM Module.

ginodecock
Posts: 30
Joined: Thu Jun 29, 2017 7:10 pm

Re: ESP32 WROVER pSRAM Quiescent current

Postby ginodecock » Wed Dec 20, 2017 9:43 pm

Hi,

I measure when using the same code the esp-wroom-32 uses 7uA and the esp32 wrover uses 80uA. The underlying pcb is also the same.

I wonder what is extra needed for the esp32 wrover to get to the low current usage.

Thanks,

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: ESP32 WROVER pSRAM Quiescent current

Postby loboris » Fri Dec 22, 2017 5:15 pm

ginodecock wrote:Hi,

I measure when using the same code the esp-wroom-32 uses 7uA and the esp32 wrover uses 80uA. The underlying pcb is also the same.

I wonder what is extra needed for the esp32 wrover to get to the low current usage.

Thanks,
At the moment I only have esp32-wrover on ESP-WROVER-KIT board which is not suitable for deep sleep power consumption measurement.

I've tested deep sleep power on ALB32-WROVER module (with 8MB Flash & 4MB psRAM) which probably has the same internal schematics as ESP32-WROVER and the results are:

- 5.5 uA when only RTC timer wake-up & wake-up from GPIO are enabled
- 32 uA when ULP wake-up is also enabled
- 300 uA when touch wake-up is enabled

Tested with deep sleep example from latest esp-idf.

To get this power consumption I had to configure some GPIOs at the begining of app_main():

Code: Select all

void app_main()
{
    gpio_pad_select_gpio(12);
    gpio_set_direction(12, GPIO_MODE_INPUT);
    gpio_set_pull_mode(12, GPIO_FLOATING);
    for (int i=32; i<34; i++) {
        gpio_pad_select_gpio(i);
        if (i < 34) {
            gpio_set_direction(i, GPIO_MODE_INPUT);
            gpio_set_pull_mode(i, GPIO_PULLUP_ONLY);
        }
    }

    struct timeval now;
    gettimeofday(&now, NULL);
...
...
Last edited by loboris on Sat Dec 23, 2017 11:41 am, edited 3 times in total.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP32 WROVER pSRAM Quiescent current

Postby WiFive » Sat Dec 23, 2017 6:48 am

loboris wrote:

Code: Select all

    for (int i=32; i<40; i++) {
        gpio_pad_select_gpio(i);
        gpio_set_direction(i, ***GPIO_PULLUP_ONLY***);
        if (i < 34) gpio_set_pull_mode(i, GPIO_PULLUP_ONLY);
    }
Hmm

User avatar
loboris
Posts: 514
Joined: Wed Dec 21, 2016 7:40 pm

Re: ESP32 WROVER pSRAM Quiescent current

Postby loboris » Sat Dec 23, 2017 10:24 am

WiFive wrote: Hmm
Just leftovers from testing, I'm aware it is "Hmm" code...
Last edited by loboris on Sat Dec 23, 2017 11:35 am, edited 1 time in total.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP32 WROVER pSRAM Quiescent current

Postby WiFive » Sat Dec 23, 2017 11:15 am

loboris wrote: Just leftovers from testing, I'm aware it is "Hmm" code...
Now that you shared it at least fix the starred argument

ginodecock
Posts: 30
Joined: Thu Jun 29, 2017 7:10 pm

Re: ESP32 WROVER pSRAM Quiescent current

Postby ginodecock » Sun Dec 24, 2017 2:11 pm

This seems to do the trick. :D

These GPIO pins are not used in the schematic of the ESP32 Wrover.

Is the underlying cause the difference between hardware version REV0 en REV1 of the ESP32 chip? :?:

Who is online

Users browsing this forum: No registered users and 30 guests