Hi,
have You solved this issue? I have the same.
Regards
Search found 11 matches
- Sun Feb 14, 2021 12:05 pm
- Forum: ESP-IDF
- Topic: gpio_install_isr_service() returns ESP_ERR_NOT_FOUND
- Replies: 5
- Views: 9946
- Tue Jan 12, 2021 7:38 pm
- Forum: ESP-IDF
- Topic: UART read timeout looks not working
- Replies: 8
- Views: 6710
Re: UART read timeout looks not working
Hi
I added
but get same results. Additionally, an error occurs E (32137) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
Best regards
I added
- uart_get_buffered_data_len(UART_NUM_1, (size_t*)&rxBytes);
Best regards
- Tue Jan 12, 2021 12:36 pm
- Forum: ESP-IDF
- Topic: UART read timeout looks not working
- Replies: 8
- Views: 6710
Re: UART read timeout looks not working
Hi,
thank You for reply.
My version is ESP-IDF v4.1-dev-474-g2e6398aff-dirty
Best regards
thank You for reply.
My version is ESP-IDF v4.1-dev-474-g2e6398aff-dirty
Best regards
- Mon Jan 11, 2021 2:02 pm
- Forum: ESP-IDF
- Topic: UART read timeout looks not working
- Replies: 8
- Views: 6710
Re: UART read timeout looks not working
Any help?
- Sat Jan 09, 2021 12:35 pm
- Forum: ESP-IDF
- Topic: UART read timeout looks not working
- Replies: 8
- Views: 6710
UART read timeout looks not working
Hello, I am connected to communication line. Device is sending two frames of bytes with gap between. I use code: #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_system.h" #include "esp_log.h" #include "driver/uart.h" #include "string.h" #include "driver/gpio.h" static const i...
- Sat Jul 04, 2020 7:38 pm
- Forum: General Discussion
- Topic: [SOLVED] UART response too late
- Replies: 9
- Views: 9377
Re: UART response too late
I found the solution here:
viewtopic.php?t=3751
I had to make struck like above
Result: Thank You very much.
Regards
viewtopic.php?t=3751
I had to make struck like above
Result: Thank You very much.
Regards
- Sat Jul 04, 2020 7:25 pm
- Forum: General Discussion
- Topic: [SOLVED] UART response too late
- Replies: 9
- Views: 9377
Re: UART response too late
Probably I found the solution.
Now testing.
Now testing.
- Sat Jul 04, 2020 6:37 pm
- Forum: General Discussion
- Topic: [SOLVED] UART response too late
- Replies: 9
- Views: 9377
Re: UART response too late
Oh, ESP_Sprite thank You as well.
- Sat Jul 04, 2020 6:27 pm
- Forum: General Discussion
- Topic: [SOLVED] UART response too late
- Replies: 9
- Views: 9377
Re: UART response too late
PeterR, thank You for reply. Asking for 1 byte: uint8_t data[1]; while (1) { int len = uart_read_bytes(UART_NUM_2, data, 1, 1); uart_write_bytes(UART_NUM_2, (const char *)data, len); } Result: screen8.png Added FIFO Tresh uart_intr_config_t uart_intr = { .rxfifo_full_thresh = 1}; // // .rx_timeout_t...
- Sat Jul 04, 2020 5:08 am
- Forum: General Discussion
- Topic: [SOLVED] UART response too late
- Replies: 9
- Views: 9377
Re: UART response too late
Thank you very much PeterR for your answer.
The upper signal is RX the lower TX as You assumed.
I can't change the baudrate, data is read from the connected device and sent alternately.
Could you please explain how to reduce latency?
The upper signal is RX the lower TX as You assumed.
I can't change the baudrate, data is read from the connected device and sent alternately.
Could you please explain how to reduce latency?