An embodiment of the invention discloses a circuit capable of reusing universal serial
bus (
USB) / universal asynchronous
receiver /
transmitter (UART) interfaces an electronic device using the same. The circuit comprises an
external interface, a
processing chip, a first
simulation switch, a second
simulation switch and a
voltage division circuit. The state of a first port of the
external interface is utilized to judge whether a
USB standard interface connected with a
USB data line or a USB standard interface connected with a UART data line is plugged in. If the USB standard interface connected with the USB data line is judged to be plugged in, the first
simulation switch and the second simulation switch are utilized to switch a path, a USB_DM pin for
processing a
chip is connected with a D+ line of the USB data line, a USB_DP pin is connected with a D- line of the USB data line, and transmission of USB data is achieved. If the USB standard interface connected with the UART data line is judged to be plugged in, the first simulation switch and the second simulation switch are utilized to switch the path, a URXT /
general purpose input / output (GPIO) reuse pin for
processing a
chip is connected with an RXT line of the UART data line, a UTXD / GPIO reuse pin is connected with a TXD line of the UART data line, and transmission of UART data is achieved. The circuit can reuse the USB interfaces and the UART interfaces, meets the requirement of the electronic device for thinness, reduces interface quantity, and is attractive in appearance.