Search found 2 matches

by embeddedcoder
Sat Jun 26, 2021 9:32 am
Forum: ESP-IDF
Topic: Couldn't receive more than 120 bytes from UART interrupt
Replies: 2
Views: 2424

Re: Couldn't receive more than 120 bytes from UART interrupt

Hello friend, This is a small but very useful solution. I could resolve the issue. Please find below the code snippet and let me know if you have any suggestions. int ring_buff_len; int len; int timeout = 1000; // in msec if(xQueueReceive(uart0_queue, (void * )&event, timeout / portTICK_RATE_MS)) { ...
by embeddedcoder
Thu Jun 24, 2021 6:25 pm
Forum: ESP-IDF
Topic: Couldn't receive more than 120 bytes from UART interrupt
Replies: 2
Views: 2424

Couldn't receive more than 120 bytes from UART interrupt

Hello, I am using ESP-IDF version 4.2. I am referring UART event example for the development of my project. The example link is available below. https://github.com/espressif/esp-idf/blob/master/examples/peripherals/uart/uart_events/main/uart_events_example_main.c As per my project requirement, I wan...