How to disable uart0 driver on esp32

xtend-graz
Posts: 1
Joined: Fri Nov 24, 2023 12:16 pm

How to disable uart0 driver on esp32

Postby xtend-graz » Thu Dec 21, 2023 7:56 am

Hi,
I have a custom project with very tight need, and to meet the performance required I need to manage the bare UART hardware. Actually I succeded for Uart1 and Uart2. I need also to manage Uart0 so I disabled the related output, by setting CONFIG_ESP_CONSOLE_NONE=y in sdkconfig.
To confirm, after the boot I don't have any kind of log output to UART0.
But I have problems because seems that after I pick the char form the uart fifo, (only for uart0) something else does the same (and I'm sure is not in my code...), causing a wrong alignment in the fifo rx register.
I suspect is the driver ISR, but I don't know how to check if it is still loaded and eventually how to disable it.

Any suggestion about?

Thank you for any help or idea

Who is online

Users browsing this forum: Baidu [Spider] and 98 guests