Search found 31 matches

by wuyuanyi
Mon Jun 01, 2026 6:08 am
Forum: Hardware
Topic: ESP32S3 Stopped to Boot-up After Brownout Resets
Replies: 3
Views: 58

Re: ESP32S3 Stopped to Boot-up After Brownout Resets


The brown-out detector works to give a quick reading on why an ESP32 malfunctions (without it, you may get weird behaviour from the CPU that e.g. may look like a spurious software issue; the BOD makes it immediately clear that the voltage level is out of spec), but it doesn't replace an external ...
by wuyuanyi
Sun May 31, 2026 10:05 pm
Forum: Hardware
Topic: ESP32S3 Stopped to Boot-up After Brownout Resets
Replies: 3
Views: 58

ESP32S3 Stopped to Boot-up After Brownout Resets

I am using ESP32S3 WROOM1 N16R8 on my own PCB. Due to my faulty USB hub, my board may receive brownout reset randomly- and this is intended. However, I noticed that after a few sequential Brownout in tens of seconds, it no longer reboots. I checked the reset pin, power supply, etc. and they are all ...
by wuyuanyi
Wed Nov 27, 2024 7:51 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32C3 WIFI 问题
Replies: 5
Views: 14081

Re: ESP32C3 WIFI 问题


最后自己找到的问题之所在,倒腾了好久,发现wifi发射的Power值超出了要求的设定值,获取到默认值是100,而要求设定tx_power是在84以内。

最后通过esp_wifi_set_max_tx_power函数设定20,即5dBm的功率为发送频率,wifi就正常连接和通信,不知道这个是不是bug?


https://docs.espressif.com/projects/esp-idf/zh_CN/latest/esp32/api-reference/network/esp_wifi.html#_CPPv425esp_wifi_set_max_tx_power6int8_t ...
by wuyuanyi
Tue Sep 03, 2024 7:55 am
Forum: ESP-IDF
Topic: Is it possible to enable Pulse Counter (PCNT) and gpio interrupt on the same pin?
Replies: 3
Views: 6848

Re: Is it possible to enable Pulse Counter (PCNT) and gpio interrupt on the same pin?

Welp, I could confirm that the correct combination to make PCNT and gpio interrupt work simultaneously is: PCNT setup -> gpio config -> gpio interrupt handler
by wuyuanyi
Tue Sep 03, 2024 5:13 am
Forum: ESP-IDF
Topic: Is it possible to enable Pulse Counter (PCNT) and gpio interrupt on the same pin?
Replies: 3
Views: 6848

Re: Is it possible to enable Pulse Counter (PCNT) and gpio interrupt on the same pin?

I have tried gpio_config > gpio_add_handler > pcnt setup as well as gpio_config > pcnt setup > gpio_add_handler. In either case,only pcnt works. the interrupt handler won't be called. Without pcnt the interrupt worked
by wuyuanyi
Mon Sep 02, 2024 4:57 pm
Forum: ESP-IDF
Topic: Is it possible to enable Pulse Counter (PCNT) and gpio interrupt on the same pin?
Replies: 3
Views: 6848

Is it possible to enable Pulse Counter (PCNT) and gpio interrupt on the same pin?

Hi, I am implementing a pulse counter for an encoder. I would also like to capture the edge in ISR and perform some action. However, when both PCNT and interrupt using `gpio_isr_handler_add`, the interrupt handler no longer gets called. I assume this was because the signal was routed to PCNT ...
by wuyuanyi
Mon May 06, 2024 1:27 am
Forum: General Discussion
Topic: Possibility to automatically detect Octal/Quad PSRAM?
Replies: 2
Views: 2660

Possibility to automatically detect Octal/Quad PSRAM?

Hello all,

I designed a prodcut with ESP32S3NxR2 and the firmware was set to using quad PSRAM lines. However, due to stock issue a recent batch was assembled with ESP32S3NxR8. While I was told the R8 version is compatible with R2 in quad mode, it turned out to be not true and I was getting

E ...
by wuyuanyi
Wed Dec 06, 2023 7:46 am
Forum: ESP-IDF
Topic: What is the purpose of using httpd_queue_work?
Replies: 4
Views: 13928

Re: What is the purpose of using httpd_queue_work?



I succeed implementing the asynchronous response using the following code
Note the commented code, where I assumed that httpd_queue_work is used to delegate the http communication to the http server thread. However, without using httpd_queue_work it works just fine. This makes me wonder more ...
by wuyuanyi
Sat Jan 07, 2023 2:49 pm
Forum: ESP-IDF
Topic: What is the purpose of using httpd_queue_work?
Replies: 4
Views: 13928

Re: What is the purpose of using httpd_queue_work?

I succeed implementing the asynchronous response using the following code
Note the commented code, where I assumed that httpd_queue_work is used to delegate the http communication to the http server thread. However, without using httpd_queue_work it works just fine. This makes me wonder more when ...
by wuyuanyi
Sat Jan 07, 2023 12:44 pm
Forum: ESP-IDF
Topic: What is the purpose of using httpd_queue_work?
Replies: 4
Views: 13928

What is the purpose of using httpd_queue_work?

Hi, I am looking at the http server component and found this function: httpd_queue_work. After tracing the source code, I found that It merely ask the http server thread to invoke the work callback immediately. The callback is not called in a standalone thread. I wonder what is the purpose of using ...

Go to advanced search