Page 1 of 1

USING GPIO pins of ESP-WROOM-32D as UART RTS/ UART CTS

Posted: Thu Feb 01, 2018 12:56 pm
by FCT_IOT
Dear all,

I am interested in using ESP-WROOM-32D in one of my project where it will be operated as a slave interfaced to an MCU. I was reading through the ESP32 AT Instruction set pdf file provide by espressif. It mentions Default configuration for sending AT Commands is through UART1 which uses GPIO16 - RXD, GPIO17 - TXD, GPIO14 - RTS, GPIO15 - CTS. When i checked the ESP-32 datasheet, the GPIO14, GPIO15 are used as GPIOs and are not specifically RTS/ CTS Pins.

I would like to know if we can use any free gpios on ESP-WROOM-32D Pinout list as UART Pins.

In ESP-WROOM-32D GPIO16- U2RXD, GPIO17 - U2TXD are available for connection and have the same GPIO numbers but U2RTS and U2 CTS are connected to GPIO7 , GPIO 8 respectively. GPIO7, GPIO8 are used to connect to internal flash in ESP-WROOM-32D Module. I am interfacing an external flash with WIFI Module using HSPI Interface. Hence i will not be able to use GPIO14, GPIO15 as RTS/CTS. Can i configure other GPIOs as CTS/RTS.

Thanks in advance

Re: USING GPIO pins of ESP-WROOM-32D as UART RTS/ UART CTS

Posted: Thu Feb 01, 2018 2:01 pm
by WiFive
Yes, just beware of input only pins, strapping pins, and internal flash pins.

Re: USING GPIO pins of ESP-WROOM-32D as UART RTS/ UART CTS

Posted: Thu Feb 01, 2018 2:10 pm
by FCT_IOT
WiFive wrote:Yes, just beware of input only pins, strapping pins, and internal flash pins.
Thank you for the reply. How can we configure the GPIOs into specific UART Functions. Any link to reference files will be helpful to understand.

Thanks in advance.

Re: USING GPIO pins of ESP-WROOM-32D as UART RTS/ UART CTS

Posted: Thu Feb 01, 2018 3:46 pm
by WiFive

Re: USING GPIO pins of ESP-WROOM-32D as UART RTS/ UART CTS

Posted: Fri Feb 02, 2018 2:24 am
by FCT_IOT
Thank you @WiFive. I will go through the links.