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.
ESP 32-S3
-
- Posts: 1707
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: ESP 32-S3
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
Another option is to use an external 32kHz crystal: https://github.com/espressif/esp-idf/is ... -500312453
Who is online
Users browsing this forum: Assasinsareus, Bing [Bot] and 102 guests