Search found 7 matches

by mikelisfbay
Mon Apr 04, 2022 12:40 am
Forum: ESP-IDF
Topic: Unable to flash ESP32-S3 DevKitC 1 N8R8
Replies: 0
Views: 1723

Unable to flash ESP32-S3 DevKitC 1 N8R8

Hi, I need help. I just bought the ESP32 S3 board from Adafruit. I am not able to flash it even if I pressed down the boot button. I keep getting the invalid head of packet (0x1B). If you know the solution, please help me. Thank you, Michael ================================ The Screen Shot of the er...
by mikelisfbay
Tue May 19, 2020 12:51 am
Forum: ESP32 Arduino
Topic: Arduino WDT Issue in WiFi STA mode: Unable to reboot 10% of the time
Replies: 1
Views: 3136

Arduino WDT Issue in WiFi STA mode: Unable to reboot 10% of the time

Hi the support team, I have a critical issue with WDT. The example in the core library runs consistently well. It can reboot successfully if I don't reset the WDT timer. https://github.com/espressif/arduino-esp32/blob/master/libraries/ESP32/examples/Timer/WatchdogTimer/WatchdogTimer.ino However, whe...
by mikelisfbay
Wed Feb 19, 2020 2:07 pm
Forum: ESP32 Arduino
Topic: portYIELD_FROM_ISR() is not working
Replies: 4
Views: 8420

Re: portYIELD_FROM_ISR() is not working

Hi idahowalker, The most important thing you said is that the loop task has the lowest priority. For my semaphore example, I need to raise the priority level of the loop task to TWO to process the interrupt counter. I can't even do that with the loop task. I have modified my code like your code by c...
by mikelisfbay
Wed Feb 19, 2020 2:00 pm
Forum: ESP32 Arduino
Topic: portYIELD_FROM_ISR() is not working
Replies: 4
Views: 8420

Re: portYIELD_FROM_ISR() is not working

Hi idahowalker, Thank you. You are right. Expressif's official example also does not use the loop task. Good point. You cannot change the task priority level. Also, you cannot pass the handle to it. You cannot define the heap size. The loop task is basically unconfigurable. I copied someone's tutori...
by mikelisfbay
Tue Feb 18, 2020 7:05 am
Forum: ESP32 Arduino
Topic: portYIELD_FROM_ISR() is not working
Replies: 4
Views: 8420

Re: portYIELD_FROM_ISR() is not working

Hi all, I found that I made a mistake. The task that processes, the interrupt data from ISR, needs to have the highest priority. So, the portYIELD_FROM_ISR() can switch the context for that high priority task before the ISR's exit. I misunderstood the example in the FreeRTOS manual. I changed my cod...
by mikelisfbay
Tue Feb 18, 2020 12:19 am
Forum: ESP32 Arduino
Topic: ESP32 deep sleep current consumption
Replies: 5
Views: 9229

Re: ESP32 deep sleep current consumption

The 3.3V regulator has high standby current. A different regulator is needed. Some ESP32 boards are redesigned with low power regulator. You can find them on the internet.
by mikelisfbay
Tue Feb 18, 2020 12:16 am
Forum: ESP32 Arduino
Topic: portYIELD_FROM_ISR() is not working
Replies: 4
Views: 8420

portYIELD_FROM_ISR() is not working

Hi anyone, I have trouble with portYIELD_FROM_ISR(). I expect it to block the current running task2 so that the main loop task can immdiately process the data from External Input ISR. Thank you, Michael Yellow wave : External Input (GPIO16) Blue wave: Main Task Output Signal (GPIO17) Black wave: Tas...