Search found 4 matches

by Melika
Wed Feb 21, 2024 9:48 am
Forum: General Discussion
Topic: uart tx interrupt
Replies: 3
Views: 888

Re: uart tx interrupt

MicroController wrote:
Tue Feb 20, 2024 9:44 am

You could just use the IDF's UART driver, either synchronously or event-based.
Hi thanks for answer.How can i use it?
by Melika
Mon Feb 19, 2024 12:06 pm
Forum: General Discussion
Topic: Core 0 panic'ed (Interrupt wdt timeout on CPU0) when i have tx ring buffer
Replies: 2
Views: 687

Re: Core 0 panic'ed (Interrupt wdt timeout on CPU0) when i have tx ring buffer

ESP_Sprite wrote:
Mon Feb 19, 2024 3:05 am
Generally, you can't both use the UART driver and use your own ISR. The driver needs the ISR to function to work.
Hi.thanks for answer.if i enable just tx interrupt,i get error .do you know how can i have tx interrupt ?
by Melika
Mon Feb 19, 2024 12:03 pm
Forum: General Discussion
Topic: uart tx interrupt
Replies: 3
Views: 888

uart tx interrupt

Hi every one.i need to handle tx uart interrupt and i write this code,but i get error.How can i solve this?my esp idf version is 4.4.6 my code: #include "nvs_flash.h" #include "nvs.h" #include <string.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_netif.h" #include "esp_w...
by Melika
Sun Feb 18, 2024 9:47 am
Forum: General Discussion
Topic: Core 0 panic'ed (Interrupt wdt timeout on CPU0) when i have tx ring buffer
Replies: 2
Views: 687

Core 0 panic'ed (Interrupt wdt timeout on CPU0) when i have tx ring buffer

Hi every one.i have problem with uart_driver_install in espidf.when i use uart driver install like uart_driver_install(Serial0,1024,0, 10, &uart0_queue, 0) my rx interrupt works correct but if i want to use write something on serial with uart_write_bytes() i get "Core 0 panic'ed (Interrupt wdt timeo...