After added an external 32kHz crystal on my custom board, and flashed the "power_save" (https://github.com/espressif/esp-idf/tree/v5.2.3/examples/bluetooth/nimble/power_save) example, I get :
with the External 32 kHz crystal :
Disconnected : 8 mA
Connected : 6.5 mA
with the Main crystal ...
Search found 14 matches
- Wed Mar 05, 2025 1:46 pm
- Forum: ESP-IDF
- Topic: BLE connection in Light Sleep mode - ESP32C3
- Replies: 3
- Views: 2684
- Thu Feb 27, 2025 1:38 pm
- Forum: ESP-IDF
- Topic: BLE connection in Light Sleep mode - ESP32C3
- Replies: 3
- Views: 2684
Re: BLE connection in Light Sleep mode - ESP32C3
After deeper researches, all the use cases for BLE and sleep mode are about :
- wake up the chip
- connect to a device via BLE
- get some data via BLE
- execute the main task
- (disconnect and) go into sleep mode (which disconnects)
Nothing about maintaining the connection
- wake up the chip
- connect to a device via BLE
- get some data via BLE
- execute the main task
- (disconnect and) go into sleep mode (which disconnects)
Nothing about maintaining the connection
- Tue Feb 25, 2025 1:17 pm
- Forum: ESP-IDF
- Topic: BLE connection in Light Sleep mode - ESP32C3
- Replies: 3
- Views: 2684
BLE connection in Light Sleep mode - ESP32C3
Hi everyone,
I am currently trying to implement a low power mode on my custom board to reduce as much as possible its consumption because it runs with a battery. My device needs to maintain the BLE connection at all times. I am developing with ESP-IDF v5.2.3 and VSCode on an ESP32-C3-Mini.
With ...
I am currently trying to implement a low power mode on my custom board to reduce as much as possible its consumption because it runs with a battery. My device needs to maintain the BLE connection at all times. I am developing with ESP-IDF v5.2.3 and VSCode on an ESP32-C3-Mini.
With ...
- Tue Feb 18, 2025 1:58 pm
- Forum: ESP-IDF
- Topic: Light sleep mode does not wake up - ESP32-C3
- Replies: 3
- Views: 1895
Re: Light sleep mode does not wake up - ESP32-C3
Hi vvb333007,
I set it as it was in the example (UART, timer, GPIO) then I only set timer to be sure the issue does not come from my custom board.
After investigation, it was actually working but I could not see it. In fact once the light sleep mode is enabled, the UART pins that I use to flash ...
I set it as it was in the example (UART, timer, GPIO) then I only set timer to be sure the issue does not come from my custom board.
After investigation, it was actually working but I could not see it. In fact once the light sleep mode is enabled, the UART pins that I use to flash ...
- Tue Feb 18, 2025 8:33 am
- Forum: ESP-IDF
- Topic: Light sleep mode does not wake up - ESP32-C3
- Replies: 3
- Views: 1895
Re: Light sleep mode does not wake up - ESP32-C3
EDIT : it worked in deep sleep mode with the example : https://github.com/espressif/esp-idf/tr ... deep_sleep
- Mon Feb 17, 2025 4:05 pm
- Forum: ESP-IDF
- Topic: Light sleep mode does not wake up - ESP32-C3
- Replies: 3
- Views: 1895
Light sleep mode does not wake up - ESP32-C3
Hi everyone,
I am currently trying to implement a low power mode on my custom board to reduce as much as possible its consumption because it runs with a battery. So I familiarized myself with the light sleep example (https://github.com/espressif/esp-idf/tree/v5.2.3/examples/system/light_sleep). I ...
I am currently trying to implement a low power mode on my custom board to reduce as much as possible its consumption because it runs with a battery. So I familiarized myself with the light sleep example (https://github.com/espressif/esp-idf/tree/v5.2.3/examples/system/light_sleep). I ...
- Fri Nov 03, 2023 1:23 pm
- Forum: ESP-IDF
- Topic: Add unit test
- Replies: 4
- Views: 2387
Re: Add unit test
I have finally solved my problem. The problem was the sdkconfig file of the sub folder test was different from the sdkconfig file of the project.
To summerise, explicitly declare the library components used in CMakelist.txt with the word REQUIRES and use the same sdkconfig file in the main project ...
To summerise, explicitly declare the library components used in CMakelist.txt with the word REQUIRES and use the same sdkconfig file in the main project ...
- Tue Oct 31, 2023 4:53 pm
- Forum: ESP-IDF
- Topic: Add unit test
- Replies: 4
- Views: 2387
Re: Add unit test
I also tried to use the Eclipse IDE because until now I was using the VS Code IDE.
In Eclipse, I succeeded to compile the project but I cannot compile the test sub project. Eclipse only defines a "Local" target and even when I try to add a "New Launch Target...", it is not saved.
In Eclipse, I succeeded to compile the project but I cannot compile the test sub project. Eclipse only defines a "Local" target and even when I try to add a "New Launch Target...", it is not saved.
- Mon Oct 30, 2023 11:24 am
- Forum: ESP-IDF
- Topic: Add unit test
- Replies: 4
- Views: 2387
Re: Add unit test
Thank you for your tip. Now I can compile my project but I still get errors when I try to compile the test project such as :
fatal error: esp_bt.h: No such file or directory
25 | #include "esp_bt.h"
Here my CMakeList.txt file in the same folder as the file that triggers the above error :
idf ...
fatal error: esp_bt.h: No such file or directory
25 | #include "esp_bt.h"
Here my CMakeList.txt file in the same folder as the file that triggers the above error :
idf ...
- Mon Oct 23, 2023 1:00 pm
- Forum: ESP-IDF
- Topic: Add unit test
- Replies: 4
- Views: 2387
Add unit test
Hello,
I am trying to add unit tests to my project. I followed the file tree of the unit test example (https://github.com/espressif/esp-idf/tree/00d58a92dc5ba2527137369e39d0bfd97968b8a9/examples/system/unit_test) and change the CMakeLists.txt files as a result. However when I compile my code I get ...
I am trying to add unit tests to my project. I followed the file tree of the unit test example (https://github.com/espressif/esp-idf/tree/00d58a92dc5ba2527137369e39d0bfd97968b8a9/examples/system/unit_test) and change the CMakeLists.txt files as a result. However when I compile my code I get ...