Using UHCI and regular UART at same time
Posted: Thu Oct 16, 2025 6:12 pm
Dear all,
Could you help me to understand an ability of using the regular UART RX and UHCI RX at same time?
Some more information about the task. Now I use regular UART RX and TX to spelling with my PC with some commands and answers. I want to change RX mode from UART to UCHI after sending some special UART command from the PC to receive some big data to some buffer placed on PSRAM. And I want to change RX mode back after data was received.
Currently I use customized UART according the example: https://github.com/espressif/esp-idf/bl ... ple_main.c
So regularly I use xQueueReceive to queueing and I do "uart_read_bytes" when data is gone. I don't clearly understand how I can add UHCI mode to my scheme.
Could you help me to understand an ability of using the regular UART RX and UHCI RX at same time?
Some more information about the task. Now I use regular UART RX and TX to spelling with my PC with some commands and answers. I want to change RX mode from UART to UCHI after sending some special UART command from the PC to receive some big data to some buffer placed on PSRAM. And I want to change RX mode back after data was received.
Currently I use customized UART according the example: https://github.com/espressif/esp-idf/bl ... ple_main.c
So regularly I use xQueueReceive to queueing and I do "uart_read_bytes" when data is gone. I don't clearly understand how I can add UHCI mode to my scheme.