The invention relates to the field of communication equipment and discloses
USB (Universal Serial
Bus) equipment and a detection method thereof. The
USB equipment can be detected to be host equipment or slave equipment without an ID (Identification) base pin, and thus, the base pin resources of the
USB equipment are saved. The USB equipment disclosed by the invention comprises a series
branch (1) consisting of a first pull-up
resistor and a first switch, a series
branch (2) consisting of a second pull-up
resistor and a second switch, a series
branch (3) consisting of a third pull-up
resistor and a third switch, a series branch (4) consisting of a fourth pull-down resistor and a fourth switch, a series branch (5) consisting of a fifth pull-down resistor and a fifth switch, wherein one end of the series branch (1) is connected with a VCC (
Virtual Channel Connection), the other end of the series branch (1) is connected with a D+ data line or a D- data line, one end of the series branch (2) is connected with the VCC, the other end of the series branch (2) is connected with the D+ data line, one end of the series branch (3) is connected with the VCC, the other end of the series branch (3) is connected with the D- data line, one end of the series branch (4) is grounded, the other end of the series branch (4) is connected with the D+ data line, one end of the series branch (5) is grounded, the other end of the series branch (5) is connected with the D- data line.