ESP 32-S3

RiverS_16
Posts: 7
Joined: Mon Sep 25, 2023 3:54 am

ESP 32-S3

Postby RiverS_16 » Mon Sep 25, 2023 4:10 am

hello,

I am trying to build a c language based application where in the controller will be in sleep mode majority of the time but just wake up on bluetooth connection request.

I am using a eclipse IDF for this. And using Light Sleep Mode and esp_sleep_enable_bt_wakeup(), esp_light_sleep_start() API's
for achieving the same.But my problem is with these two APis the controller always stays awake.

I need a sample code for above.

MicroController
Posts: 1750
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: ESP 32-S3

Postby MicroController » Tue Sep 26, 2023 7:12 pm

At least with NimBLE I found that I have to completely stop/deinitialize Bluetooth for the chip to be able to sleep; and restart Bluetooth after waking up.

Another option is to use an external 32kHz crystal: https://github.com/espressif/esp-idf/is ... -500312453

Who is online

Users browsing this forum: No registered users and 88 guests