USING GPIO pins of ESP-WROOM-32D as UART RTS/ UART CTS
Posted: Thu Feb 01, 2018 12:56 pm
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
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