Page 1 of 1

ESP 32-S3

Posted: Mon Sep 25, 2023 4:10 am
by RiverS_16
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.

Re: ESP 32-S3

Posted: Tue Sep 26, 2023 7:12 pm
by MicroController
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