Search found 10 matches
- Thu Sep 12, 2024 6:22 am
- Forum: ESP-IDF
- Topic: Using Same GPIO for Deep Sleep Wake-up (EXT0) and State Check in Wake Stub on ESP32-S3
- Replies: 2
- Views: 1088
Re: Using Same GPIO for Deep Sleep Wake-up (EXT0) and State Check in Wake Stub on ESP32-S3
Wake stubs are executed very early during the wake-up process, and their execution time is limited. The "watchdog timer" reset (TG0WDT_SYS_RST) is likely triggered because your code in the wake_stub function takes too long. You can edit your code like this: #include <stdio.h> #include "esp_sleep.h"...
- Wed Sep 11, 2024 1:47 pm
- Forum: ESP-IDF
- Topic: Using Same GPIO for Deep Sleep Wake-up (EXT0) and State Check in Wake Stub on ESP32-S3
- Replies: 2
- Views: 1088
Using Same GPIO for Deep Sleep Wake-up (EXT0) and State Check in Wake Stub on ESP32-S3
I'm working on a project using an ESP32-S3, where I want to achieve the following: - Wake up the ESP32 from deep sleep using a button press on a GPIO pin (using EXT0 wake-up). - Check the state of the same GPIO in the wake stub function to determine if the button is being held for 4 seconds. here is...
- Thu Aug 29, 2024 7:28 am
- Forum: ESP-IDF
- Topic: How does light sleep work?
- Replies: 2
- Views: 916
Re: How does light sleep work?
Issue, I think, is that it works *in this case*. When you enter light sleep manually, the WiFi base station has no idea you're doing so, and it might disconnect you if it runs into a timeout and needs to send you a packet. If you use automatic light sleep instead, the WiFi stack will coordinate sle...
- Wed Aug 28, 2024 10:15 pm
- Forum: ESP-IDF
- Topic: How does light sleep work?
- Replies: 2
- Views: 916
How does light sleep work?
Hi there, I am working on a low-power project using the ESP32-C3, where the product will be configurable by the user. As part of this project, I plan to utilize both light sleep and deep sleep modes. During my tests, I observed something interesting about the light sleep mode, and I wanted to clarif...
- Wed Aug 28, 2024 9:48 pm
- Forum: ESP-IDF
- Topic: mbedTLS heap error
- Replies: 2
- Views: 976
Re: mbedTLS heap error
xTaskCreate(scd4x_read_measurements_task, ... , &sensor_data, ... ); sensor_data is local to app_main(), i.e. &sensor_data becomes invalid as soon as app_main() returns. Do not pass a pointer to a local variable to the new task! The new task subsequently writing to this variable will cause stack/me...
- Mon Aug 26, 2024 11:30 am
- Forum: ESP-IDF
- Topic: mbedTLS heap error
- Replies: 2
- Views: 976
mbedTLS heap error
Hi i have problems with mbedtls. i am not using mbedTLS APIs directly but i am using certificated MQTT connection. I use AWS IoT Core certificates. i added them manually. Here is output of my code: I (30) boot: ESP-IDF v5.1.4-dirty 2nd stage bootloader I (30) boot: compile time Aug 26 2024 11:28:06 ...
- Tue Aug 13, 2024 10:45 am
- Forum: ESP-IDF
- Topic: ESP32 C3 custom board WI-FI brownout detector problem.
- Replies: 5
- Views: 1169
Re: ESP32 C3 custom board WI-FI brownout detector problem.
Yeah, issue likely is that the wires you connect to your PSU have a relatively high impedance. WiFi eats up very short spikes of lots of power, and the power supply can't provide that 'fast enough' through the high-impedance lines. As a hack to fix this, I'd suggest soldering a whole bunch of extra...
- Thu Aug 08, 2024 7:46 am
- Forum: ESP-IDF
- Topic: ESP32 C3 custom board WI-FI brownout detector problem.
- Replies: 5
- Views: 1169
Re: ESP32 C3 custom board WI-FI brownout detector problem.
My supply is a hy3003-3 power suppy. That can provide 3 ampere current. And i attached my actual PCB design to this post.ESP_Sprite wrote: ↑Thu Aug 08, 2024 1:20 amWhat are you using as your 3.3V power source? Are you sure it can deliver the >=500mA needed, and that you don't have long lines between it and the board?
- Thu Aug 08, 2024 6:46 am
- Forum: ESP-IDF
- Topic: ESP32 C3 custom board WI-FI brownout detector problem.
- Replies: 5
- Views: 1169
Re: ESP32 C3 custom board WI-FI brownout detector problem.
I'm using a HY3003-3 power supply, which provides a 3 ampere output.ESP_Sprite wrote: ↑Thu Aug 08, 2024 1:20 amWhat are you using as your 3.3V power source? Are you sure it can deliver the >=500mA needed, and that you don't have long lines between it and the board?
- Wed Aug 07, 2024 12:18 pm
- Forum: ESP-IDF
- Topic: ESP32 C3 custom board WI-FI brownout detector problem.
- Replies: 5
- Views: 1169
ESP32 C3 custom board WI-FI brownout detector problem.
Hello everyone, I designed a custom ESP32-C3 board using the reference peripheral schematic provided in the datasheet. The only modification I made was the removal of a 0-ohm resistor. The board runs other code without issues, but when I attempt to use Wi-Fi, I encounter a brownout detector error, a...