ble modem sleep

johnconn
Posts: 2
Joined: Sun Sep 30, 2018 10:13 pm

ble modem sleep

Postby johnconn » Sun Sep 30, 2018 10:29 pm

So I've been messing around with the modem sleep for ble, and taking measurements with a little test application where the my phone connects to the esp32 and every few seconds the esp sends a notification to the phone.

I've set my clock rate to 80MHz, freeRTOS to tickless idle support, and freeRTOS to run on only one core.

Here's what I've found:
  • ble with no sleep mode enabled draws ~90mA
    ble with orig sleep mode draws ~35mA
    ble with the EVED sleep mode draws ~40mA - and I had to manually add esp_bt_sleep_enable
I was surprised that EVED had a higher current draw than the original sleep mode. Am I missing a step here?

StefanS
Posts: 10
Joined: Sat Jul 07, 2018 1:12 pm

Re: ble modem sleep

Postby StefanS » Fri Oct 12, 2018 2:24 am

Hi John,
did you ever find a solution to this problem? I'm trying to understand the difference between ORIG and EVED and which one is better?
Thank you

johnconn
Posts: 2
Joined: Sun Sep 30, 2018 10:13 pm

Re: ble modem sleep

Postby johnconn » Sat Oct 13, 2018 3:52 pm

I didn't make any more headway into this.

I tried digging into the esp-idf and I got as far as the checks that no subsystem was holding a radio lock before entering sleep mode.
I couldn't find the sleep mode implementation. I was working off of commit 11b444b of master

Who is online

Users browsing this forum: No registered users and 126 guests