Search found 63 matches

by doglike
Mon Sep 27, 2021 12:50 pm
Forum: ESP-IDF
Topic: A stack overflow in task msg_send has been detected.
Replies: 2
Views: 2333

Re: A stack overflow in task msg_send has been detected.

What's the stack size of the task, that is calling esp_wifi_start() ?
by doglike
Wed Jun 16, 2021 10:06 pm
Forum: ESP-IDF
Topic: get entered WIFI password
Replies: 0
Views: 1728

get entered WIFI password

Hi, I have an WIFI AP running on the ESP32 and I want to know, if it is possible to somehow get the info out of the wifi stack, which password a user is typing in, when he is trying to connect to the AP. Espacially when the typed in password is wrong... Already tried to find something helpful in esp...
by doglike
Tue Jun 08, 2021 10:15 pm
Forum: ESP-IDF
Topic: Interrupt behaviour, when more then one interrupt happen
Replies: 2
Views: 2376

Re: Interrupt behaviour, when more then one interrupt happen

Arduino is basically mapping to IDF api and because of I am calling "attachInterrupt" for every ISR-init, I expect same prio for all ISR's.
And in that case, processing one ISR after the other is exactly my desired behaviour :)
Many thanks!
by doglike
Tue Jun 08, 2021 9:33 am
Forum: ESP-IDF
Topic: Interrupt behaviour, when more then one interrupt happen
Replies: 2
Views: 2376

Interrupt behaviour, when more then one interrupt happen

Hi all, I trying to find out, what will happen, when more then one interrupt occurs at the same time. For example I have 2 external ISR's initialized: attachInterrupt (pin1, ISR1, RISING); attachInterrupt (pin2, ISR2, RISING); In case ISR1 becomes active and does something. What happens, when ISR2 a...
by doglike
Tue Apr 13, 2021 8:49 am
Forum: ESP-IDF
Topic: How to read PWM duty and frequency from pin?
Replies: 4
Views: 9291

Re: How to read PWM duty and frequency from pin?

Otherwise I have to go the "hard way" and implement edge-rising/falling interrupts + calculation of duty and freq.
Didn't expect, that there is nothing available :(
by doglike
Mon Apr 12, 2021 7:56 pm
Forum: ESP-IDF
Topic: How to read PWM duty and frequency from pin?
Replies: 4
Views: 9291

Re: How to read PWM duty and frequency from pin?

Is there any example or a library?
Cannot find anything :(
For sure, I am not the first, who want to do something like this.
by doglike
Sun Apr 11, 2021 9:56 pm
Forum: ESP-IDF
Topic: How to read PWM duty and frequency from pin?
Replies: 4
Views: 9291

How to read PWM duty and frequency from pin?

Hi,

I want to read PWM duty and freq from GPIO22. I want to attach a sensor there, that measures 2 things and encodes that to duty (10-90%) and freq (50-250Hz) values.

Does anybody has an example code for me how to do that?

Thanks in advance!
by doglike
Thu Mar 04, 2021 7:24 pm
Forum: Hardware
Topic: [SOLVED] Flash ESP32 WROOM32E on custom PCB
Replies: 5
Views: 4068

Re: Flash ESP32 WROOM32E on custom PCB

EDIT: Solved :)
I didn't connected the GND of the PCB with the GND of the flasher.
by doglike
Thu Mar 04, 2021 1:36 pm
Forum: Hardware
Topic: [SOLVED] Flash ESP32 WROOM32E on custom PCB
Replies: 5
Views: 4068

Re: Flash ESP32 WROOM32E on custom PCB

Hi, not measured with oscilloscope, yet, but I rudimentally checked the soldering for shorts etc., but the electrical continuity is fine. The CP2102 is on an external "flasher" and not part of the PCB. I also tried 3 different CP2102-flashers. I use only Tx and Rx lines of the CP2102 and I just real...
by doglike
Wed Mar 03, 2021 10:14 pm
Forum: Hardware
Topic: [SOLVED] Flash ESP32 WROOM32E on custom PCB
Replies: 5
Views: 4068

[SOLVED] Flash ESP32 WROOM32E on custom PCB

Hi, I have a custom PCB with a ESP32 WROOM32E module and cannot flash it. GPIO1 (=Tx) is connected to Rx of CP2102. GPIO3 (=Rx) is connected to Tx of CP2102. ...and I can see the boot messages... EN and GPIO0 have pullups. I pull both LOW, keep GPIO0 LOW and switch EN to HIGH. --> jumps in download ...