Using TX/RX as GPIO ok?

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
jdts
Posts: 18
Joined: Mon Dec 23, 2019 2:55 pm

Using TX/RX as GPIO ok?

Post by jdts » Sat May 16, 2020 12:54 pm

Is there any harm in using ESP32's TX/RX (GPIO 1/3) as GPIO OUT pins, other than losing serial access through UART0? I'm adapting to an older motor shield that uses these pins for motor control. I can still use utelnetserver (with `dupterm_notify` commented back in) to access the console.

Outside of Micropython, I noticed people using a PIN mode of `FUNCTION_3` for RX/TX on ESP8266/32 in the Arduino IDE to make them function as normal GPIOs (e.g. here), but that doesn't seem to be possible with MP.

Post Reply