Page 1 of 1

UART1 re-map on on different pin

Posted: Tue Jun 16, 2020 8:13 am
by nicola
Hi to everyone ,
I need to connect a UART GPS module on a ESP32-WROOM.
From what I see the UART1 of esp32-wroom is mapped to GPIO9 and GPIO10 which are also connected to SPI RAM. Is possible to re-map the uart1 on the GPIO14 and GPIO12 in the firmware ?
If not, where can I map the UART1 to a different pins?
Hope you can help.
Awaiting your kind reply and thanks.


Nicola

Re: UART1 re-map on on different pin

Posted: Tue Jun 16, 2020 10:27 am
by ESP_Sprite
Yes. If you use ESP-IDF, you can pass alternate pins to the initialization function of the UART driver.

Re: UART1 re-map on on different pin

Posted: Wed Jun 17, 2020 8:43 am
by nicola
Thanks a lot I'm going to use esp-idf surely.
Thanks again
Nico