CN204576500U - A kind of usb communication circuit of compatible I2C communication and system - Google Patents

A kind of usb communication circuit of compatible I2C communication and system Download PDF

Info

Publication number
CN204576500U
CN204576500U CN201520179459.2U CN201520179459U CN204576500U CN 204576500 U CN204576500 U CN 204576500U CN 201520179459 U CN201520179459 U CN 201520179459U CN 204576500 U CN204576500 U CN 204576500U
Authority
CN
China
Prior art keywords
usb
usb interface
interface
host device
machine part
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201520179459.2U
Other languages
Chinese (zh)
Inventor
靳勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201520179459.2U priority Critical patent/CN204576500U/en
Application granted granted Critical
Publication of CN204576500U publication Critical patent/CN204576500U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model discloses a kind of usb communication circuit and system of compatible I2C communication, this circuit comprises: USB interface, and wherein USB interface comprises USB interface plug and USB interface mainboard; First identified pins of USB interface plug is connected with the first end of the first resistance, also with being connected from serial clock terminal from machine part; First ground wire pin of USB interface plug is connected with the first end of the second resistance, also with being connected from serial data end from machine part; Second end of the first resistance, the second end ground connection of the second resistance; Second identified pins of USB interface mainboard is connected with the universal input/output terminal of host device, is also connected with the main serial clock terminal of the I2C interface of host device; Second ground wire pin of USB interface mainboard is connected with the universal input/output terminal of host device, is also connected with the main serial data end of the I2C interface of host device.The utility model is simultaneously compatible, and usb communication communicates with I2C.

Description

A kind of usb communication circuit of compatible I2C communication and system
Technical field
The utility model relates to the communications field, particularly relates to a kind of usb communication circuit and system of compatible I2C communication.
Background technology
USB (universal serial bus) (Universal Serial Bus, USB) be an external bus standard, for connection and the communication of specification computer and external unit, be applied to personal computer (Personal Computer at present more, PC) interfacing in field, USB interface has the function supporting external unit plug and play and hot plug.
Shown in figure 1 (a), for the schematic diagram of a kind of USB interface mainboard end that prior art provides, as shown in the figure, mark (the Identity of USB interface mainboard end, ID) pin directly and central processing unit (CentralProcessing Unit, CPU) universal input/output terminal (General Purpose Input Output, GPIO) connect, as the exchanges data (On-The-Go of external unit and CPU place main frame, OTG identifies), its ground wire pin (GND-3) directly ground connection, other ground wire pin (GND-1, GND-5, GND-6, GND-7, GND-2, GND-4) direct ground connection.At this, USB interface mainboard also comprises positive voltage data terminal (DataPositive, D+), negative voltage data end (Data Negative, D-), power end VUSB, wherein, D+ holds connection cabling, and transmitting high speed positive voltage data (High Speed Data Positive between main frame, HS_DP), D-holds connection cabling, and transmitting high speed negative voltage data (High Speed DataNegative, HS_DN) between main frame, power end VUSB connects power supply USB_VCHR.Shown in figure 1 (b), be the schematic diagram of a kind of USB interface tip side that prior art provides, as shown in the figure, the identified pins (ID) of USB interface tip side and ground wire pin (GND-3) ground connection respectively.Known, existing USB interface can only be used for usb communication, charging and OTG and identify, its function singleness.At this, USB interface joint also comprises positive voltage data terminal (Data Positive, D+), negative voltage data end (Data Negative, D-), power end VUSB, wherein, D+ holds connection cabling, and from transmitting high speed positive voltage data (High SpeedData Positive between machine, HS_DP), D-holds connection cabling, and from transmitting high speed negative voltage data (High Speed Data Negative, HS_DN) between machine, power end VUSB connects power supply USB_VCHR.
Built-in integrated circuit (Inter-Integrated Circuit, I2C) bus is twin wire universal serial bus, for connecting main frame and peripherals thereof, being convenient to the communication of main frame and peripherals, is a kind of bus standard that microelectronics Control on Communication field extensively adopts.
Existing I2C interface realizes the reliable communication of main frame and peripherals by I2C bus, or turns by USB the reliable communication that I2C adapter carries out main frame and peripherals, and cost is higher, connects up complicated.
Utility model content
The utility model provides a kind of usb communication circuit and system of compatible I2C communication, to increase the function of USB interface, reduces the cost of I2C bus communication.
First aspect, the usb communication circuit of a kind of compatible I2C communication that the utility model provides, comprising: USB interface, wherein, described USB interface comprises USB interface plug and USB interface mainboard;
First identified pins of described USB interface plug is connected with the first end of the first resistance, also with being connected from serial clock terminal from machine part; First ground wire pin of described USB interface plug is connected with the first end of the second resistance, also with described being connected from serial data end from machine part; Second end of described first resistance, the second end ground connection of described second resistance;
Second identified pins of described USB interface mainboard is connected with the universal input/output terminal of host device, is also connected with the main serial clock terminal of the I2C interface of described host device; Second ground wire pin of described USB interface mainboard is connected with the universal input/output terminal of described host device, is also connected with the main serial data end of the I2C interface of described host device.
Further, described second identified pins is connected to the cabling of described universal input/output terminal, shares with the cabling being connected to described main serial clock terminal.
Further, described second ground wire pin is connected to the cabling of described universal input/output terminal, shares with the cabling being connected to described main serial data end.
Further, the earthing of casing of described USB interface.
Second aspect, the usb communication system of a kind of compatible I2C communication that the utility model provides, comprising: usb communication circuit as described in relation to the first aspect, host device and from machine part;
Described host device is connected with described USB interface mainboard, is describedly connected from machine part with described USB interface plug.
Further, described host device at least comprises I2C interface and universal input/output terminal;
Described universal input/output terminal is connected with the second identified pins of described USB interface mainboard, is also connected with the second ground wire pin of described USB interface mainboard;
The main serial clock terminal of described I2C interface is connected with described second identified pins, and the main serial data end of described I2C interface is connected with described second ground wire pin.
Further, describedly at least comprise from serial clock terminal with from serial data end from machine part;
Describedly to be connected from first identified pins of serial clock terminal with described USB interface plug; Describedly to be connected from serial data end with the first ground wire pin of described USB interface plug.
Further, described from machine part with I2C interface; Or, described from machine part with USB interface.
The usb communication circuit of a kind of compatible I2C communication that the utility model provides and system, by the first identified pins of USB interface plug respectively with first end, being connected from serial clock terminal from machine part of the first resistance, first ground wire pin respectively with first end, being connected from serial data end from machine part of the second resistance, second end of the first resistance, the second end ground connection of the second resistance, to realize the access identification from machine part with I2C interface by USB interface.Second identified pins of USB interface mainboard is connected with the universal input/output terminal of host device, the main serial clock terminal of host device I2C interface respectively, second ground wire pin is connected with the universal input/output terminal of host device, the main serial data end of host device I2C interface respectively, to be realized the I2C bus communication from machine part and host device with I2C interface by USB interface.The utility model is simultaneously compatible, and usb communication communicates with I2C, adds the function of USB interface, reduces the cost of I2C bus communication.
Accompanying drawing explanation
In order to be illustrated more clearly in the utility model embodiment or technical scheme of the prior art, introduce doing one to the accompanying drawing used required in embodiment or description of the prior art simply below, apparently, accompanying drawing in the following describes is embodiments more of the present utility model, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic diagram of a kind of USB interface mainboard end that Fig. 1 (a) provides for prior art;
The schematic diagram of a kind of USB interface tip side that Fig. 1 (b) provides for prior art;
Fig. 2 (a) is the schematic diagram of the USB interface plug of the usb communication circuit of a kind of compatible I2C communication that the utility model embodiment one provides;
Fig. 2 (b) is the schematic diagram of the USB interface mainboard of the usb communication circuit of a kind of compatible I2C communication that the utility model embodiment one provides;
Fig. 3 (a) is the schematic diagram of the usb communication system of a kind of compatible I2C communication that the utility model embodiment two provides;
Fig. 3 (b) is the process flow diagram of the usb communication method of a kind of compatible I2C communication that the utility model embodiment two provides.
Embodiment
For making the purpose of this utility model, technical scheme and advantage clearly, hereinafter with reference to the accompanying drawing in the utility model embodiment, clearly and completely the technical solution of the utility model is described by embodiment, obviously, described embodiment is the utility model part embodiment, instead of whole embodiments.Based on the embodiment in the utility model, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the utility model protection.
Embodiment one
The technical scheme of the present embodiment one is applicable to multiplexing USB interface and carries out I2C communication as I2C interface and carry out the situation of usb communication.
The usb communication circuit of a kind of compatible I2C communication that the utility model provides, comprising: USB interface, wherein, described USB interface comprises USB interface plug and USB interface mainboard.
With reference to figure 2 (a), the schematic diagram of the USB interface plug of the usb communication circuit of a kind of compatible I2C communication provided for the utility model embodiment one.Wherein, the USB interface plug in the present embodiment is used for host device and detects the situation about accessing from machine part usb communication circuit whether having and have I2C interface.What have I2C interface if do not have accesses usb communication circuit from machine part, then usb communication circuit is only as traditional USB interface, for carrying out usb communication, charging, OTG identification etc. from machine part and host device by USB interface.What have I2C interface if having has accessed usb communication circuit from machine part, then usb communication circuit reusable is I2C interface, communicates for carrying out I2C with host device by I2C interface from machine part.
First identified pins ID of USB interface plug is connected with the first end of the first resistance R1, also with connecting from serial clock terminal (Serial Clock, SCL) from machine part.Particularly, this first identified pins is connected with the first resistance by a cabling, first identified pins is also by another cabling SCL/ID and being connected from serial clock terminal from machine part, therefore the clock line that can be used as I2C interface communication from the cabling SCL/ID of serial clock terminal and the first identified pins is connected, for transmitting from the clock signal between machine part and host device.
First ground wire pin GND-3 of USB interface plug is connected with the first end of the second resistance R2, also with connecting from serial data end (Serial Data, SDA) from machine part.Particularly, this the first ground wire pin is connected with the second resistance by a cabling, first ground wire pin is also by another cabling SDA/ID and being connected from serial data end from machine part, therefore the data line that can be used as I2C interface communication from the cabling SDA/ID of serial data end and the first ground wire pin is connected, for transmitting from the data-signal between machine part and host device.
Second end of the first resistance, the second end of the second resistance be direct ground connection also.At this, select wholesale resistance as the first resistance and the second resistance, when the second direct ground connection of end of the second end of the first resistance and the second resistance, then the first resistance and the second resistance are applied in usb communication circuit as pull down resistor, the first end of the first resistance can the voltage of the first identified pins of drop-down USB interface plug, by the voltage clamping of the first identified pins on a lower magnitude of voltage, same, the first end of the second resistance can the voltage of drop-down first ground wire pin, by its voltage clamping on a lower magnitude of voltage.So, USB interface plug be used for have I2C interface from machine part carry out access identification.Alternatively, the resistance of the first resistance is equal with the resistance of the second resistance, and the resistance of the first resistance is 200K Ω, and the resistance of the second resistance is 200K Ω.
As mentioned above, USB interface plug has connected wholesale resistance, and to carry out pin voltage drop-down, and therefore when usb communication circuit is as I2C interface communication, the communication mode of usb communication circuit can only adopt recommends communication (Push Pull) mode.
As mentioned above, USB interface plug can to have I2C interface from machine part carry out access identify, be therefore connected to USB interface plug portion from machine part can be have USB interface from machine part, also can be have I2C interface from machine part.
First identified pins of known USB interface plug is connected SCL/ID cabling, SDA/ID cabling respectively with the first ground wire pin, at this, USB interface plug also comprises other leads ends, be specially positive voltage data terminal D+, negative voltage data end D-, power end VUSB, earth terminal (GND-1, GND-5, GND-6, GND-7, GND-2, GND-4), wherein, D+ connects a cabling, and between machine part, transmit HS_DP, D-connects a cabling, and between machine part, transmit HS_DN, VUSB connects power supply USB_VCHR, and earth terminal is ground connection respectively.
Be connected with pull down resistor on the USB interface plug of usb communication circuit after, in order to the function making usb communication circuit have compatible I2C interface communication, also change in the annexation of the interface main board of this usb communication circuit.
With reference to figure 2 (b), the schematic diagram of the USB interface mainboard of the usb communication circuit of a kind of compatible I2C communication provided for the utility model embodiment one.Wherein, USB interface mainboard in the present embodiment carries out access identification to what access from machine part for host device, when host device identify access from machine part be have I2C interface from machine part time, host device by USB interface with there is carrying out I2C from machine part and communicating of I2C interface, when host device identify access from machine part be do not have I2C interface from machine part time, host device by USB interface with should carry out usb communication from machine part, then this usb communication circuit compatibility I2C interface and USB interface.
Second identified pins ID of USB interface mainboard is connected with the universal input/output terminal GPIO of host device, is also connected with the main serial clock terminal SCL of the I2C interface of host device.Particularly, this second identified pins is connected with a cabling, and this cabling GPIO1 is connected to the universal input/output terminal of host device, and as input/output line, this cabling is used as host device to the transmission of the access identification signal from machine part; This second identified pins is also connected with a cabling, and this cabling SCL/ID is connected to the main serial clock terminal of the I2C interface of host device, and as clock line, this cabling is used as the transmission from the clock signal between machine part and host device.
Second ground wire pin GND-3 of USB interface mainboard is connected with the universal input/output terminal GPIO of host device, is also connected with the main serial data end SDA of the I2C interface of host device.Particularly, this second ground wire pin is connected with a cabling, and this cabling GPIO2 is connected to the universal input/output terminal of host device, and as input/output line, this cabling is used as host device to the transmission of the access identification signal from machine part; This second ground wire pin is also connected with a cabling, and this cabling SDA/ID is connected to the main serial data end of the I2C interface of host device, and as data line, this cabling is used as the transmission from the data-signal between machine part and host device.
As mentioned above, because being used as of being connected with the universal input/output terminal of host device accesses the cabling that identification signal transmits, and the cabling being used as clock signal transmission to be connected with the main serial clock terminal of the I2C interface of host device, be all connected on the second identified pins of USB interface mainboard.Therefore alternatively, the second identified pins is connected to the cabling of universal input/output terminal, can share with the cabling being connected to main serial clock terminal, all uses SCL/ID cabling signal transmission.
As mentioned above, because being used as of being connected with the universal input/output terminal of host device accesses the cabling that identification signal transmits, and to be connected with the main serial data end of the I2C interface of host device be used as the cabling that data-signal transmits, be all connected on the second ground wire pin of USB interface mainboard.Therefore alternatively, the second ground wire pin is connected to the cabling of universal input/output terminal, can share with the cabling being connected to main serial data end, all uses SDA/ID cabling signal transmission.
Second identified pins of known USB interface mainboard is connected SCL/ID cabling, SDA/ID cabling respectively with the second ground wire pin, at this, USB interface plug also comprises other leads ends, be specially positive voltage data terminal D+, negative voltage data end D-, power end VUSB, earth terminal (GND-1, GND-5, GND-6, GND-7, GND-2, GND-4), wherein, D+ connects a cabling, and transmit HS_DP between host device, D-connects a cabling, and transmit HS_DN between host device, VUSB connects power supply USB_VCHR, and earth terminal is ground connection respectively.
As mentioned above, in the present embodiment, first identified pins and the first wire pin place, ground of the interface plug part of USB interface are unearthed, but be connected to pull down resistor and with the cabling from machine part communications, and the second identified pins of the interface main board of USB interface and the second wire pin place, ground unearthed, but be connected to the cabling with host device communications, therefore USB interface entirety is unearthed, at this alternatively, the earthing of casing of USB interface, instead of the direct ground connection of traditional USB interface grounding pin.
Be described above a kind of structure of usb communication circuit of compatible I2C communication.This when with I2C interface or with USB interface from machine part access usb communication circuit time, the transmitting procedure of usb communication circuit is as described below.
Be connected with USB interface plug portion from machine part, host device is connected with USB interface main board.Universal input/the output terminal of host device connects identified pins and the ground wire pin of USB interface mainboard, and host device is identified carrying out access from machine part by universal input/output terminal, and whether identify should from machine part with I2C interface.
If host device identify this from machine part be with I2C interface from machine part, so usb communication circuit communicates as I2C interface, should from the cabling of machine part by being connected with the first identified pins of USB interface plug portion, and the cabling of host device by being connected with the second identified pins of USB interface main board, host device and carry out I2C communication between machine part, with transmit clock signal, namely from machine part by identified pins to host device transmit clock signal or host device by identified pins to from machine part transmit clock signal.Should from the cabling of machine part also by being connected with the first ground wire pin of USB interface plug portion, and the cabling of host device also by being connected with the second ground wire pin of USB interface main board, host device and carry out I2C communication between machine part, with transmission of data signals, namely from machine part by ground wire pin to host device transmission of data signals or host device by ground wire pin to from machine part transmission of data signals.Carry out all I2C with host device by usb communication circuit from machine part to communicate.
If unidentified go out this from machine part with I2C interface, then this usb communication circuit is as traditional USB interface, from machine part by usb communication circuit access host device, from carrying out the usb communications such as usb communication, charging and OTG identification between machine part and host device.
The usb communication circuit of a kind of compatible I2C communication that the utility model provides, by the first identified pins of USB interface plug respectively with first end, being connected from serial clock terminal from machine part of the first resistance, first ground wire pin respectively with first end, being connected from serial data end from machine part of the second resistance, second end of the first resistance, the second end ground connection of the second resistance, to realize the access identification from machine part with I2C interface by USB interface.Second identified pins of USB interface mainboard is connected with the universal input/output terminal of host device, the main serial clock terminal of host device I2C interface respectively, second ground wire pin is connected with the universal input/output terminal of host device, the main serial data end of host device I2C interface respectively, to be realized the I2C bus communication from machine part and host device with I2C interface by USB interface.The utility model is simultaneously compatible, and usb communication communicates with I2C, adds the function of USB interface, does not need to turn I2C interface adapter by USB interface, directly uses usb communication circuit to carry out I2C interface communication, reduces the cost of I2C bus communication.
Embodiment two
With reference to figure 3 (a), the schematic diagram of the usb communication system of a kind of compatible I2C communication provided for the utility model embodiment two.The technical scheme of the present embodiment uses the situation being multiplexed with I2C interface with USB interface.
The universal serial bus communications system of a kind of compatible Inter-Integrated Circuit bus communication that the utility model provides, comprising: as the usb communication circuit 11 of embodiment one, host device 12 and from machine part 13; Host device 12 is connected with USB interface mainboard 14, is connected from machine part 13 with USB interface plug 15.
Alternatively, host device 12 at least comprises I2C interface and universal input/output terminal GPIO; Universal input/output terminal is connected with the second identified pins of USB interface mainboard 14, is also connected with the second ground wire pin of USB interface mainboard 14; The main serial clock terminal of I2C interface is connected with the second identified pins, and the main serial data end of I2C interface is connected with the second ground wire pin.
Alternatively, at least comprise from serial clock terminal with from serial data end from machine part 13; Be connected from serial clock terminal with the first identified pins of USB interface plug 15; Be connected from serial data end with the first ground wire pin of USB interface plug 15.
Alternatively, from machine part 13 with I2C interface; Or, from machine part 13 with USB interface.
As mentioned above, when accessing usb communication circuit 11 respectively from machine, host device 12, first host device 12 will identify carrying out access from machine part 13, only after access identifies, usb communication circuit 11 just can be made to communicate according to USB interface or I2C interface, and host device 12 controls from machine part 13 plug-in or use.If from machine part 13 for have I2C interface from machine part 13 time, then usb communication circuit 11 is as I2C Application of Interface, if from machine part 13 for do not have I2C interface from machine part 13 time, then usb communication circuit 11 is applied as USB interface.The principle of the usb communication circuit 11 of therefore above-mentioned compatible I2C communication is as follows:
The ID pin of known USB interface mainboard 14 is connected with the GPIO of host device 12, GND-3 pin is connected with the GPIO of host device 12, the ID pin of USB interface plug 15 with from being connected from serial ports clock end of machine part 13, GND-3 pin and being connected from serial data end from machine part 13, stake resistance R1 and R2 by the ID pin of USB interface plug 15 and GND-3 pin clamper at electronegative potential, so host device 12 is by GPIO and pull down resistor R1 and R2, identifies carrying out access from machine part 13.
With reference to figure 3 (b), the process flow diagram of the usb communication method of a kind of compatible I2C communication provided for the utility model embodiment two.The usb communication that the method can be communicated by compatible I2C performs, and this system can adopt the mode of hardware to realize.The method comprises the following steps:
Whether step 21, detection GPIO are dragged down.Whether the level that first host device 12 can detect the universal input/output terminal be connected with the second identified pins of USB interface mainboard 14 is dragged down.GPIO uses the inside pull-up of host device 12, as the access of the USB device from machine part 13 detecting with I2C interface.
If host device 12 does not detect that the level of its universal input/output terminal is dragged down, then whether host device 12 returns and restarts to detect the level of universal input/output terminal be connected with the second identified pins of USB interface mainboard 14 and dragged down.Usb communication circuit 11 as USB interface, host device 12 with carry out usb communication, charging or OTG from machine part 13 by this usb communication circuit 11 and identify.
Step 22, host device 12 carry out I2C communication, detect and whether have response from machine part 13.If host device 12 detects that the level of its universal input/output terminal is dragged down, host device 12 carries out I2C communication by usb communication circuit 11, namely ID with the GND-3 pin of host device 12 by USB interface mainboard 14 and ID with the GND-2 pin by USB interface plug 15 communicate to from machine part 13, namely initiate response to from machine part 13, detect the feedback whether having since machine part 13.
Step 23, proceed to OTG flow process.If host device 12 initiates response to from machine part 13, and when not detecting the feedback response since machine part 13, then usb communication circuit 11 proceeds to OTG identification process, and host device 12 carries out OTG identification by usb communication circuit 11 to from machine part 13.
After OTG flow process completes, whether host device 12 returns and restarts to detect the level of universal input/output terminal be connected with the second identified pins of USB interface mainboard 14 and dragged down.Usb communication circuit 11 as USB interface, host device 12 with carry out usb communication, charging or OTG from machine part 13 by this usb communication circuit 11 and identify.
Step 24, carry out I2C communication.When host device 12 detects when the response feedback of machine part 13, host device 12 confirms to access usb communication circuit 11 with I2C interface from machine part 13, current usb communication circuit 11 is as I2C interface, host device 12 by I2C interface with realize I2C from machine part 13 and communicate, and realize other functions of relevant I2C communication.At this, host device 12 be realized by ID and the GND-3 pin of USB interface mainboard 14 and ID and the GND-3 pin of USB interface plug 15 from the communication of machine part 13.Host device 12 passes through I2C Interface Controller from machine part 13.
As mentioned above, alternatively, from machine part 13 be with I2C interface from machine part 13; Or, from machine part 13 be with USB interface from machine part 13.
The usb communication system of a kind of compatible I2C communication that the utility model embodiment two provides, host device is connected with USB interface mainboard, be connected from machine part with USB interface plug, this usb communication system not only can be arranged in pairs or groups and be had the external from machine part of I2C interface, or there is the line of the USB interface of I2C interface, can also with traditional usb compatible, realize usb communication to communicate with I2C, this usb communication system can compatible OTG identify, usb communication, the USB interface with I2C interface can also be driven external from machine part or usb line.
Note, above are only preferred embodiment of the present utility model and institute's application technology principle.Skilled person in the art will appreciate that the utility model is not limited to specific embodiment described here, various obvious change can be carried out for a person skilled in the art, readjust and substitute and protection domain of the present utility model can not be departed from.Therefore, although be described in further detail the utility model by above embodiment, but the utility model is not limited only to above embodiment, when not departing from the utility model design, can also comprise other Equivalent embodiments more, and scope of the present utility model is determined by appended right.

Claims (8)

1. a usb communication circuit for compatible I2C communication, it is characterized in that, comprising: USB interface, wherein, described USB interface comprises USB interface plug and USB interface mainboard;
First identified pins of described USB interface plug is connected with the first end of the first resistance, also with being connected from serial clock terminal from machine part; First ground wire pin of described USB interface plug is connected with the first end of the second resistance, also with described being connected from serial data end from machine part; Second end of described first resistance, the second end ground connection of described second resistance;
Second identified pins of described USB interface mainboard is connected with the universal input/output terminal of host device, is also connected with the main serial clock terminal of the I2C interface of described host device; Second ground wire pin of described USB interface mainboard is connected with the universal input/output terminal of described host device, is also connected with the main serial data end of the I2C interface of described host device.
2. the usb communication circuit of compatible I2C communication according to claim 1, it is characterized in that, described second identified pins is connected to the cabling of described universal input/output terminal, shares with the cabling being connected to described main serial clock terminal.
3. the usb communication circuit of compatible I2C communication according to claim 1, it is characterized in that, described second ground wire pin is connected to the cabling of described universal input/output terminal, shares with the cabling being connected to described main serial data end.
4. the usb communication circuit of compatible I2C communication according to claim 1, is characterized in that, the earthing of casing of described USB interface.
5. a usb communication system for compatible I2C communication, is characterized in that, comprising: the usb communication circuit as described in any one of claim 1-4, host device and from machine part;
Described host device is connected with described USB interface mainboard, is describedly connected from machine part with described USB interface plug.
6. the usb communication system of compatible I2C communication according to claim 5, it is characterized in that, described host device at least comprises I2C interface and universal input/output terminal;
Described universal input/output terminal is connected with the second identified pins of described USB interface mainboard, is also connected with the second ground wire pin of described USB interface mainboard;
The main serial clock terminal of described I2C interface is connected with described second identified pins, and the main serial data end of described I2C interface is connected with described second ground wire pin.
7. the usb communication system of compatible I2C communication according to claim 5, is characterized in that, describedly at least comprises from serial clock terminal with from serial data end from machine part;
Describedly to be connected from first identified pins of serial clock terminal with described USB interface plug; Describedly to be connected from serial data end with the first ground wire pin of described USB interface plug.
8. the usb communication system of compatible I2C communication according to claim 7, is characterized in that, described from machine part with I2C interface; Or, described from machine part with USB interface.
CN201520179459.2U 2015-03-26 2015-03-26 A kind of usb communication circuit of compatible I2C communication and system Expired - Fee Related CN204576500U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520179459.2U CN204576500U (en) 2015-03-26 2015-03-26 A kind of usb communication circuit of compatible I2C communication and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520179459.2U CN204576500U (en) 2015-03-26 2015-03-26 A kind of usb communication circuit of compatible I2C communication and system

Publications (1)

Publication Number Publication Date
CN204576500U true CN204576500U (en) 2015-08-19

Family

ID=53869106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520179459.2U Expired - Fee Related CN204576500U (en) 2015-03-26 2015-03-26 A kind of usb communication circuit of compatible I2C communication and system

Country Status (1)

Country Link
CN (1) CN204576500U (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105361844A (en) * 2015-12-07 2016-03-02 朱春垒 Multifunctional otorhinolaryngologic probing therapeutic apparatus
CN107145213A (en) * 2017-04-21 2017-09-08 广东浪潮大数据研究有限公司 A kind of device and method being multiplexed for PCH MEdebug and USB port
CN107515834A (en) * 2017-08-18 2017-12-26 郑州云海信息技术有限公司 A kind of USB interface and interface allocation method for supporting LCD liquid crystal displays
CN108073534A (en) * 2017-11-14 2018-05-25 浙江众邦机电科技有限公司 A kind of communication compatible system of sewing machine
CN108920401A (en) * 2018-06-04 2018-11-30 深圳柴火创客教育服务有限公司 It is more main mostly from I2C communication means, system and node device
CN110554985A (en) * 2019-09-26 2019-12-10 杭州凡诺电子有限公司 I2C and USB compatible design circuit

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105361844A (en) * 2015-12-07 2016-03-02 朱春垒 Multifunctional otorhinolaryngologic probing therapeutic apparatus
CN107145213A (en) * 2017-04-21 2017-09-08 广东浪潮大数据研究有限公司 A kind of device and method being multiplexed for PCH MEdebug and USB port
CN107145213B (en) * 2017-04-21 2020-05-19 苏州浪潮智能科技有限公司 Device and method for multiplexing PCH MEdebug and USB port
CN107515834A (en) * 2017-08-18 2017-12-26 郑州云海信息技术有限公司 A kind of USB interface and interface allocation method for supporting LCD liquid crystal displays
CN108073534A (en) * 2017-11-14 2018-05-25 浙江众邦机电科技有限公司 A kind of communication compatible system of sewing machine
CN108073534B (en) * 2017-11-14 2020-02-04 浙江众邦机电科技有限公司 Communication compatible system of sewing machine
CN108920401A (en) * 2018-06-04 2018-11-30 深圳柴火创客教育服务有限公司 It is more main mostly from I2C communication means, system and node device
CN110554985A (en) * 2019-09-26 2019-12-10 杭州凡诺电子有限公司 I2C and USB compatible design circuit

Similar Documents

Publication Publication Date Title
CN204576500U (en) A kind of usb communication circuit of compatible I2C communication and system
CN106104506B (en) For entering the method, apparatus and computer program product of attachment joint mode in USB c-type interface
CN106716389B (en) Method for fast USB charging, electronic device and charger device
CN102004708B (en) Management device and operation method thereof
CN100495377C (en) Method for inspecting type of connected peripheral apparatus and terminal interface
CN101335736B (en) High-speed peripheral interconnecting interface
CN102045112B (en) Optical universal serial bus device and operation method thereof
CN103095855B (en) I2C communication interface unit
US20110191503A1 (en) Motherboard Compatible with Multiple Versions of Universal Serial Bus (USB) and Related Method
CN102959927A (en) Detection of cable connections for electronic devices
US9940277B2 (en) Multi-channel peripheral interconnect supporting simultaneous video and bus protocols
CN104239169A (en) Signal testing card and method
US11232061B2 (en) CompactFlash express (CFX) adapters
CN106951383A (en) The mainboard and method of a kind of raising PCIE data channel utilization rates
CN105868140A (en) A mobile apparatus
CN102096457B (en) processing device and operating system
US20120096286A1 (en) Charging management method, charging control circuit and the host apparatus having the same
CN202798652U (en) Signal conversion circuit and interface switching equipment
CN202872142U (en) Multifunctional USB (Universal Serial Bus) data line
CN103473208B (en) Transmission system
CN205983460U (en) Serial receiving and dispatching interface module and USB interface module sharing port circuit
CN102761624B (en) Method and device for debugging Internet access out of panel
CN112821156B (en) Electronic tags chip and TYPE-C data line
CN103311766A (en) Mobile equipment switching device and working mode switching method thereof
CN105930293A (en) Serial transceiving interface module and USB (universal serial bus) interface module shared port circuit and working method

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150819