Patent ID: 9129065
Filing Date: 2015-09-08
Classification: G06F

Abstract:
1. A universal serial bus (USB) device, comprising: a) an interface module having a power supply port, a ground port, and first and second data ports, wherein said interface module is configured to connect to corresponding ports of a USB host at a USB interface; b) a property identification module coupled to said first and second data ports, wherein said property identification module comprises a processing unit configured to determine properties of said USB interface according to states of first and second determination signals; c) a data transmission module configured to exchange data between said USB device and said USB host according to said determined properties; d) a charging module coupled to said power supply port and said ground port, wherein said charging module is configured to charge said USB device based on said determined properties; e) a first determination circuit comprising a pull-up resistor coupled to an input power supply and said first data port, and a first comparator configured to compare said first data port against a first reference voltage, and to generate said first determination signal; and f) a second determination circuit comprising a pull-down resistor coupled to said second data port and ground, and a second comparator configured to compare said second data port against a second reference voltage, and to generate said second determination signal.