Thank you, I was able to read the UART with interrupt. I can control the interrupt condition with UART int_ena registers.ESP_Sprite wrote: ↑Wed Aug 10, 2022 12:34 amYou only clear the interrupt status for two specific events (rxfifo full and rx timeout). What do you think happens when another UART event happens that causes an interrupt?
Search found 3 matches
- Fri Aug 19, 2022 4:19 am
- Forum: General Discussion
- Topic: ESP32 UART interrupt handler with ESP-IDF
- Replies: 4
- Views: 5301
Re: ESP32 UART interrupt handler with ESP-IDF
- Tue Aug 09, 2022 8:49 am
- Forum: General Discussion
- Topic: ESP32 UART interrupt handler with ESP-IDF
- Replies: 4
- Views: 5301
Re: ESP32 UART interrupt handler with ESP-IDF
Thank you for title. my aim is to turn a led on and off every time it enters an interrupt and I want to observe it on the oscilloscope. I also want to see the incoming data from the serial screen. but esp resets itself when it spins infinitely. /* UART Interrupt Example */ #include <stdio.h> #includ...
- Tue Aug 09, 2022 6:01 am
- Forum: General Discussion
- Topic: ESP32 UART interrupt handler with ESP-IDF
- Replies: 4
- Views: 5301
ESP32 UART interrupt handler with ESP-IDF
Hello everyone, I'm trying to read data with uart interrupt handler but I got an error like this I'm using ESP-IDF with Visual Studio Code. <CODE><s> </s>W (35) boot.esp32: PRO CPU has been reset by WDT. W (40) boot.esp32: WDT reset info: PRO CPU PC=0x400d1aa4 0x400d1aa4: panic_print_char at C:/User...