Switch USB UART0 to UART2
Posted: Sun Jan 19, 2020 1:55 pm
Hello,
I have to make a comuunication beetwen one microcotroller ESP32 devkti V1 and the other with UART.
I know that my board has connected USB driver (CP2102) to the UART0 (GPIO1 - TX, GPIO3 -RX), but i want to make communication like this:
USB -> ESP32 then read data from USB and send it using UART0 to second microntroller. So i have to make UART0 free for the second microcotrroler.
My question is: is there any way to map pins from USB Driver (CP2102) to diffrent UART than UART0, for example UART2 (GPIO 16 and 17)?
I have to make a comuunication beetwen one microcotroller ESP32 devkti V1 and the other with UART.
I know that my board has connected USB driver (CP2102) to the UART0 (GPIO1 - TX, GPIO3 -RX), but i want to make communication like this:
USB -> ESP32 then read data from USB and send it using UART0 to second microntroller. So i have to make UART0 free for the second microcotrroler.
My question is: is there any way to map pins from USB Driver (CP2102) to diffrent UART than UART0, for example UART2 (GPIO 16 and 17)?