CN109344016A - Can the USB device switched between host and equipment mode and switching method - Google Patents

Can the USB device switched between host and equipment mode and switching method Download PDF

Info

Publication number
CN109344016A
CN109344016A CN201811013187.3A CN201811013187A CN109344016A CN 109344016 A CN109344016 A CN 109344016A CN 201811013187 A CN201811013187 A CN 201811013187A CN 109344016 A CN109344016 A CN 109344016A
Authority
CN
China
Prior art keywords
usb
usb interface
host
gating
physical layer
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.)
Granted
Application number
CN201811013187.3A
Other languages
Chinese (zh)
Other versions
CN109344016B (en
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.)
Allwinner Technology Co Ltd
Original Assignee
Allwinner Technology Co 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 Allwinner Technology Co Ltd filed Critical Allwinner Technology Co Ltd
Priority to CN201811013187.3A priority Critical patent/CN109344016B/en
Publication of CN109344016A publication Critical patent/CN109344016A/en
Application granted granted Critical
Publication of CN109344016B publication Critical patent/CN109344016B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Information Transfer Systems (AREA)

Abstract

A kind of USB device and switching method that can switch between host and equipment mode, wherein the USB device includes USB physical layer element, the first USB interface, secondary USB interface, gating unit and detection circuit;The detection circuit detects whether the first USB interface connect with host, the first gating signal is sent to gating unit when the first USB interface is connect with host, USB physical layer element to be connected to the first USB interface, and the first indication signal is sent so that it works in equipment mode to USB physical layer element;The second gating signal is sent to gating unit when the first USB interface and host are disconnected, USB physical layer element is connected to secondary USB interface, and sending the second indication signal to USB physical layer element makes it work in host mode.The circuit of this USB device is simple, and detection real-time is high.

Description

Can the USB device switched between host and equipment mode and switching method
Technical field
The present invention relates to the fields USB, more particularly to the USB device that can switch between host and equipment mode and switching Method.
Background technique
Initial USB (Universal Serial Bus, USB) standard defines host/slave relationship, wherein personal Computer is connected to the device of the personal computer as slave (i.e. peripheral equipment) as host, and two USB devices it Between can not directly carry out data transmission.
And USB2.0 defines USB On-The-Go (OTG), OTG allows two USB OTG equipment to be directly connected to and carry out Data transmission, without passing through an individual calculus machine host, i.e., one of USB device can work in host mode, Data are accessed from other USB device, can also be worked in slave mode, data are accessed by other USB device.
But traditional OTG equipment mostly just has a USB interface, when needing work to need in host mode The USB device of slave is connected to by OTG data line;And when needing work in slave mode, it needs through general USB Data line is connect with host.Therefore, user usually requires to prepare two kinds of data lines.
There is also the USB devices for only needing to be equipped with a kind of data line for the prior art, pass through two USB interfaces of detection Mode realize that but these schemes often use processor or state machine logic to detect USB interface, circuit is multiple Miscellaneous, real-time is poor, and higher cost.
Summary of the invention
For overcome the deficiencies in the prior art, the present invention provides the USB that can switch between host and equipment mode to set Standby and switching method, circuit is simple, and detection real-time is high.
A kind of USB device that can switch between host and equipment mode, including USB physical layer element, further include first USB interface, secondary USB interface, gating unit and detection circuit;The detection circuit is used to detect first USB interface It is no to be connect with host, the first gating letter is sent to the gating unit when detecting that first USB interface is connect with host Number, and the first indication signal is sent to the USB physical layer element;Connect when detecting that first USB interface and host disconnect The second gating signal is sent to the gating unit when connecing, and sends the second indication signal to the USB physical layer element;It is described Gating unit is used to connect the USB physical layer element and first USB interface when receiving first gating signal It is logical, the USB physical layer element is connected to the secondary USB interface when receiving second gating signal;Described Two USB interfaces are for connecting the USB device for working in equipment mode;The USB physical layer element is used to receive described first Equipment mode is worked in after indication signal, works in host mode after receiving second indication signal.
The detection circuit is used to detect the power end of first USB interface, when detecting first USB interface Power end determines that first USB interface is connect with host when being high level, when the power end for detecting first USB interface To determine that first USB interface is disconnected with host when low level.
The USB device further includes usb hub, and described usb hub one end is connect with the gating unit, another End connects multiple secondary USB interfaces.
The detection circuit is used to be suitable for the of the gating unit according to the level output level size of the power end One gating signal and the second gating signal.
The detection circuit is used to be suitable for the USB physical layer element according to the level output level size of the power end The first indication signal and the second indication signal.
The USB physical layer element is USB physical chip.
The detection circuit includes first switch tube, second switch, third switching tube, the first ground resistance, second connects Ground resistance;The control terminal of the first switch tube passes through first ground resistance earth and the electricity with first USB interface Source connection;First conduction terminal of the first switch tube is connect with the first power supply, the second conduction terminal of the first switch tube It is connect by the second ground resistance earth and with the control terminal of the second switch;First conduction terminal of the second switch It connect with second source and is connect with the control terminal of the third switching tube, the second conduction terminal ground connection of the second switch; First conduction terminal of the third switching tube is connect with third power supply, the second conduction terminal ground connection of the third switching tube;It is described First conduction terminal of second switch exports first gating signal or the second gating signal;The first of the third switching tube Conduction terminal exports first indication signal or the second indication signal.
The present invention also provides a kind of methods that USB device switches between host and equipment mode, include the following steps: Whether S1, the first USB interface of detection circuit real-time detection connect with host, when detecting that first USB interface and host connect The first gating signal is sent to gating unit when connecing, and sends the first indication signal to USB physical layer element;When the detection electricity Road detects first USB interface and sends the second gating signal to the gating unit when host disconnects, and to institute It states USB physical layer element and sends the second indication signal;S2, the gating unit are when receiving first gating signal by institute It states USB physical layer element to be connected to first USB interface, when receiving second gating signal by the USB physics Layer unit is connected to the secondary USB interface;S3, the USB physical layer element work after receiving first indication signal In equipment mode, host mode is worked in after receiving second indication signal.
The detection circuit detects the power end of first USB interface, when the power supply for detecting first USB interface End determines that first USB interface is connect with host when being high level, when the power end for detecting first USB interface is low Determine that first USB interface is disconnected with host when level.
The detection circuit is suitable for the first choosing of the gating unit according to the level output level size of the power end Messenger and the second gating signal.
The detection circuit is suitable for the of the USB physical layer element according to the level output level size of the power end One indication signal and the second indication signal.
The detection circuit includes first switch tube, second switch, third switching tube, the first ground resistance, second connects Ground resistance;The control terminal of the first switch tube passes through first ground resistance earth and the electricity with first USB interface Source connection;First conduction terminal of the first switch tube is connect with the first power supply, the second conduction terminal of the first switch tube It is connect by the second ground resistance earth and with the control terminal of the second switch;First conduction terminal of the second switch It connect with second source and is connect with the control terminal of the third switching tube, the second conduction terminal ground connection of the second switch; First conduction terminal of the third switching tube is connect with third power supply, the second conduction terminal ground connection of the third switching tube;It is described First conduction terminal of second switch exports first gating signal or the second gating signal;The first of the third switching tube Conduction terminal exports first indication signal or the second indication signal.
The utility model has the advantages that
Multiple USB interfaces are detected with using processor or state machine logic, and pass through USB according to testing result The scheme that physical layer element carries out gating control to gating unit is compared, and the circuit structure of this programme is simpler, and cost is lower; And this programme realizes the real-time detection to USB interface, and real-time is higher.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
Fig. 1 is a kind of block diagram of embodiment of USB device 1 that can switch between host and equipment mode;
Fig. 2 is the block diagram for another embodiment of USB device 1 that can switch between host and equipment mode;
Fig. 3 is a kind of schematic diagram of embodiment of the physical circuit of detection circuit 30.
Specific embodiment
Now in conjunction with attached drawing, elaborate to presently preferred embodiments of the present invention.
Fig. 1 is a kind of block diagram of embodiment of USB device 1 that can switch between host and equipment mode.The USB device 1 Including gating unit 10, USB physical layer element 20, detection circuit 30, the first USB interface 40 and secondary USB interface 60.Second USB interface 60 is used to connect the USB device 80 for working in equipment mode, such as: the storage device (such as USB flash disk) with USB interface, Smart phone etc..First USB interface 40 is used to connect host 70, such as: personal computer etc..First USB interface 40 and gating First gated end of unit 10 connects, and secondary USB interface 60 is connect with the second gated end of gating unit 10.
Detection circuit 30 is for detecting whether first USB interface 40 connect with host 70, when detecting described first The first gating signal is sent to the gating unit 10 when USB interface 40 is connect with host 70, and to the USB physical layer element 20 send the first indication signal;When detecting that first USB interface 40 is disconnected with host 70 to the gating unit 10 send the second gating signal, and send the second indication signal to the USB physical layer element 20.This detection circuit 30 is by letter Single analog circuit composition, is perhaps made of and the controller or logic state of non-required clock simple logic gate device Machine (state machine logic).
The gating unit 10 is used for the USB physical layer element 20 and institute when receiving first gating signal The connection of the first USB interface 40 is stated, the data from host can be reached via the first USB interface 40 and gating unit 10 at this time USB physical layer element 20, when receiving second gating signal by USB physical layer element 20 and the 2nd USB Interface 60 is connected to, and the data at this time from USB device 80 can reach USB object via secondary USB interface 60 and gating unit 10 Manage layer unit 20.
The USB physical layer element 20 is used to work in equipment mode, i.e. conduct after receiving first indication signal The equipment of host 70 and communicated with host 70;Work in host mode after receiving second indication signal, i.e., with Host mode is communicated with USB device 80.USB physical layer element 20, which can be, to be supported to work in equipment mode and host mode USB physical chip.
In the present solution, the first USB interface 40 has than the higher priority of secondary USB interface 60, once USB device 1 Connect with host 70, then USB device 1 work in equipment mode and communicated with host 70 (such as to USB device 1 carry out software liter Grade), and disconnected with USB device 80.
When the OTG equipment of a traditional only USB interface works in equipment mode and host mode, it is respectively necessary for passing through Two different USB connecting lines are connect with USB device and host respectively, are made troubles to user.And in the present solution, second USB interface 60 can directly be connect with USB device, it is thus only necessary to complete the first USB interface 40 and host using USB connecting line Connection, applies more convenient.
If successively being detected to the first USB interface 40 and secondary USB interface 60 using the realization of state machine logic, rising The first USB interface of beginning Status Disable 40 and secondary USB interface 60;It is driven by the clock signal to enter second state, the The first USB interface 40 is detected when two states first, if detecting that the first USB interface 40 is connect with host, passes through USB object It manages layer unit 20 and sends the first gating signal to gating unit 10;If not detecting that the first USB interface 40 is connect with host, It is driven by the clock signal to enter third state, the detection secondary USB interface 60 in third state, if detecting the Two USB interfaces 60 are connect with USB device 80, then send the second gating signal to gating unit 10 by USB physical layer element 20, Otherwise initial state is come back in clock signal.In comparison, this programme is driven due to not needing by clock, circuit knot Structure is simpler, low in cost;In addition the adoption status logic of machine at least needs to switch in three states, when in second The first USB interface 40 connects host when state, then can not recognize the movement of connection host at this time, must wait until second period It is just detected when second state.And in the present solution, once the first USB interface 40 connects host, detection circuit 30 can be detected It arrives, that is, realizes whether the first USB interface of real-time detection 40 connect with host, therefore respond rapider.
This USB device 1 may operate in host mode, so as to by secondary USB interface 60 from USB device 80 from depositing Access evidence, also may operate in equipment mode (slave mode), so that host 70 can access data from this USB device 1.
Fig. 2 is the block diagram for another embodiment of USB device 1 that can switch between host and equipment mode.The USB device 1 is with the difference of the USB device 1 of Fig. 1: further include usb hub 50, secondary USB interface 60 have it is multiple, multiple second USB interface 60 is connect by usb hub 50 with the second gated end of gating unit 10.When the second gated end is strobed, lead to Usb hub 50 is crossed, USB physical layer element 20 can be communicated with multiple secondary USB interfaces 60.
Fig. 3 is a kind of schematic diagram of embodiment of the physical circuit of detection circuit 30.Detection circuit 30 includes first switch Pipe M1 (such as enhancing P-channel type), second switch Q1 (such as NPN triode), (such as tri- pole NPN third switching tube Q2 Pipe), the first ground resistance R6, the second ground resistance R2, the first switch tube M1 control terminal by it is described first ground connection electricity Resistance R6 is grounded and connect with the power end USB_IN of first USB interface;The first conduction terminal of the first switch tube M1 with First power supply VCC1 connection, the second conduction terminal of the first switch tube M1 are grounded by the second ground resistance R2 and with described the The control terminal of two switching tube Q1 connects;The first conduction terminal of the second switch Q1 connect with second source VCC2 and with it is described The control terminal of third switching tube Q2 connects, the second conduction terminal ground connection of the second switch Q1;The third switching tube Q2's First conduction terminal is connect with third power supply VCC3, the second conduction terminal ground connection of the third switching tube Q2;The second switch The first conduction terminal of Q1 is connect as port SET with the gating control terminal of gating unit 10, for being sent to it the first gating letter Number or the second gating signal;The first conduction terminal of the third switching tube Q2 connects as port id with USB physical layer element 20 It connects, for being sent to it the first indication signal or the second indication signal.
First power supply VCC1 is not less than USB standard voltage (i.e. the voltage of USB_IN), to guarantee that first switch tube M1 is normal Work.Second source VCC2 and third power supply VCC3 is less than third power supply VCC3, to guarantee the gating signal and instruction letter of output Number meet the reference voltage detection of gating unit 10 and USB physical layer element 20.In one embodiment, second source VCC2 with Third power supply VCC3 size is identical.
When the first USB interface 40 is connect with host, port USB_IN is high level, switching tube M1 and Q1 cut-off, port SET is high level (i.e. the first gating signal), and switching tube Q2 conducting, port id is low level (i.e. the first indication signal).When When one USB interface 40 is disconnected with host, port USB_IN is low level, and switching tube M1 and Q1 conducting, port SET is low electricity Flat (i.e. the second gating signal), switching tube Q2 cut-off, port id are high level (i.e. the second indication signal).Wherein, port SET and The high level of ID is VCC2, and size is consistent with the reference voltage detection of gating unit 10 and USB physical layer element 20.At present and Speech, the normal voltage of USB is+5V, and the operating voltage of common USB physical layer element 20 and gating unit 10 is less than 5V, greatly Generally in 3.3V or so, this detection circuit 30 is suitable for USB physical layer element 20 according to the level output level size of port USB_IN The first indication signal and the second indication signal and output level size be suitable for the first gating signal of the gating unit 10 With the second gating signal.
In one embodiment, detection circuit can further include current-limiting resistance R1, R3, R4 and R5.Resistance R1 string It connects between the second conduction terminal of first switch tube M1 and the control terminal of second switch Q1, resistance R3 is serially connected in second switch Q1 The first conduction terminal and third switching tube Q2 control terminal between, resistance R4 is serially connected in second source VCC2 and second switch Q1 The first conduction terminal between, resistance R5 is serially connected between third power supply VCC3 and the first conduction terminal of third switching tube Q2.
A kind of embodiment of the method that USB device switches between host and equipment mode, includes the following steps:
Whether S1,30 the first USB interface of real-time detection 40 of detection circuit connect with host, when detecting the first USB The first gating signal is sent to gating unit 10 when interface 40 is connect with host, and sends first to USB physical layer element 20 and refers to Show signal;When the detection circuit 30 detects that first USB interface 40 is disconnected with host to the gating unit 10 send the second gating signal, and send the second indication signal to the USB physical layer element 20.
S2, the gating unit 10 are when receiving first gating signal by the USB physical layer element 20 and institute The connection of the first USB interface 40 is stated, when receiving second gating signal by the USB physical layer element 20 and described second USB interface 60 is connected to.
S3, the USB physical layer element 20 work in equipment mode after receiving first indication signal, are receiving Host mode is worked in after second indication signal.
As previously mentioned, the scheme phase with the adoption status logic of machine detection the first USB interface 40 and secondary USB interface 60 Than in the present solution, once the first USB interface 40 connects host, detection circuit 30 be can be detected, that is, realize real-time detection the Whether one USB interface 40 connect with host, therefore responds rapider.
It should be understood that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations, to ability It for field technique personnel, can modify to technical solution illustrated in the above embodiments, or special to part of technology Sign is equivalently replaced;And all such modifications and replacement, it should all belong to the protection domain of appended claims of the present invention.

Claims (13)

1. the USB device that one kind can switch between host and equipment mode, including USB physical layer element, characterized in that also wrap Include the first USB interface, secondary USB interface, gating unit and detection circuit;
The detection circuit is for detecting whether first USB interface connect with host, when detecting first USB interface The first gating signal is sent to the gating unit when connecting with host, and sends the first instruction to the USB physical layer element Signal;The second gating signal is sent to the gating unit when detecting that first USB interface and host are disconnected, and The second indication signal is sent to the USB physical layer element;
The gating unit is used for the USB physical layer element and described first when receiving first gating signal USB interface connection, connects the USB physical layer element and the secondary USB interface when receiving second gating signal It is logical;
The secondary USB interface is for connecting the USB device for working in equipment mode;
The USB physical layer element is used to work in equipment mode after receiving first indication signal, described receiving Host mode is worked in after second indication signal.
2. USB device as described in claim 1, characterized in that
The detection circuit is used to detect the power end of first USB interface, when the power supply for detecting first USB interface End determines that first USB interface is connect with host when being high level, when the power end for detecting first USB interface is low Determine that first USB interface is disconnected with host when level.
3. USB device as described in claim 1, characterized in that
It further include usb hub, described usb hub one end is connect with the gating unit, other end connection multiple described the Two USB interfaces.
4. USB device as claimed in claim 2, characterized in that
The detection circuit is used to be suitable for according to the level output level size of the power end the first choosing of the gating unit Messenger and the second gating signal.
5. USB device as claimed in claim 2, characterized in that
The detection circuit is used to be suitable for the of the USB physical layer element according to the level output level size of the power end One indication signal and the second indication signal.
6. USB device as described in claim 1, characterized in that
The USB physical layer element is USB physical chip.
7. USB device as claimed in claim 2, characterized in that
The detection circuit includes first switch tube, second switch, third switching tube, the first ground resistance, the second ground connection electricity Resistance;
The control terminal of the first switch tube passes through first ground resistance earth and the power end with first USB interface Connection;First conduction terminal of the first switch tube is connect with the first power supply, and the second conduction terminal of the first switch tube passes through It second ground resistance earth and is connect with the control terminal of the second switch;
First conduction terminal of the second switch connect with second source and connect with the control terminal of the third switching tube, institute State the second conduction terminal ground connection of second switch;
First conduction terminal of the third switching tube is connect with third power supply, the second conduction terminal ground connection of the third switching tube;
First conduction terminal of the second switch exports first gating signal or the second gating signal;
First conduction terminal of the third switching tube exports first indication signal or the second indication signal.
8. a kind of method that USB device switches between host and equipment mode, characterized in that include the following steps:
Whether S1, the first USB interface of detection circuit real-time detection connect with host, when detecting first USB interface and master The first gating signal is sent to gating unit when machine connects, and sends the first indication signal to USB physical layer element;When the inspection Slowdown monitoring circuit, which detects, sends the second gating signal to the gating unit when first USB interface and host disconnect, and The second indication signal is sent to the USB physical layer element;
S2, the gating unit are when receiving first gating signal by the USB physical layer element and the first USB The USB physical layer element is connected to by orifice when receiving second gating signal with the secondary USB interface;
S3, the USB physical layer element work in equipment mode after receiving first indication signal, are receiving described the Host mode is worked in after two indication signals.
9. method according to claim 8, characterized in that
The detection circuit detects the power end of first USB interface, when the power end for detecting first USB interface is Determine that first USB interface is connect with host when high level, when the power end for detecting first USB interface is low level When determine that first USB interface is disconnected with host.
10. method according to claim 8, characterized in that
The detection circuit is believed according to the first gating that the level output level size of the power end is suitable for the gating unit Number and the second gating signal.
11. method according to claim 8, characterized in that
The detection circuit refers to according to first that the level output level size of the power end is suitable for the USB physical layer element Show signal and the second indication signal.
12. the method for claim 7, characterized in that
The USB physical layer element is USB physical chip.
13. method as claimed in claim 9, characterized in that
The detection circuit includes first switch tube, second switch, third switching tube, the first ground resistance, the second ground connection electricity Resistance;
The control terminal of the first switch tube passes through first ground resistance earth and the power end with first USB interface Connection;First conduction terminal of the first switch tube is connect with the first power supply, and the second conduction terminal of the first switch tube passes through It second ground resistance earth and is connect with the control terminal of the second switch;
First conduction terminal of the second switch connect with second source and connect with the control terminal of the third switching tube, institute State the second conduction terminal ground connection of second switch;
First conduction terminal of the third switching tube is connect with third power supply, the second conduction terminal ground connection of the third switching tube;
First conduction terminal of the second switch exports first gating signal or the second gating signal;
First conduction terminal of the third switching tube exports first indication signal or the second indication signal.
CN201811013187.3A 2018-08-31 2018-08-31 USB device capable of switching between host and device modes and switching method Active CN109344016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811013187.3A CN109344016B (en) 2018-08-31 2018-08-31 USB device capable of switching between host and device modes and switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811013187.3A CN109344016B (en) 2018-08-31 2018-08-31 USB device capable of switching between host and device modes and switching method

Publications (2)

Publication Number Publication Date
CN109344016A true CN109344016A (en) 2019-02-15
CN109344016B CN109344016B (en) 2022-01-04

Family

ID=65292197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811013187.3A Active CN109344016B (en) 2018-08-31 2018-08-31 USB device capable of switching between host and device modes and switching method

Country Status (1)

Country Link
CN (1) CN109344016B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1916879A (en) * 2005-08-16 2007-02-21 凌阳科技股份有限公司 USB device and method capable of automatic sensing mode of USB
CN101526930A (en) * 2008-10-13 2009-09-09 建荣集成电路科技(珠海)有限公司 USB interface master-slave machine detection device and detection method
US20110029703A1 (en) * 2009-07-29 2011-02-03 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd Electronic device capable of automatically switching between a master mode and a slave mode
CN103684407A (en) * 2013-12-16 2014-03-26 西安Tcl软件开发有限公司 Otg device
CN108073537A (en) * 2016-11-11 2018-05-25 中兴通讯股份有限公司 Usb circuit, the implementation method of USB interface and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1916879A (en) * 2005-08-16 2007-02-21 凌阳科技股份有限公司 USB device and method capable of automatic sensing mode of USB
CN101526930A (en) * 2008-10-13 2009-09-09 建荣集成电路科技(珠海)有限公司 USB interface master-slave machine detection device and detection method
US20110029703A1 (en) * 2009-07-29 2011-02-03 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd Electronic device capable of automatically switching between a master mode and a slave mode
CN101989246A (en) * 2009-07-29 2011-03-23 鸿富锦精密工业(深圳)有限公司 Electronic device capable of automatically switching master and slave equipment modes of universal serial bus (USB)
CN103684407A (en) * 2013-12-16 2014-03-26 西安Tcl软件开发有限公司 Otg device
CN108073537A (en) * 2016-11-11 2018-05-25 中兴通讯股份有限公司 Usb circuit, the implementation method of USB interface and device

Also Published As

Publication number Publication date
CN109344016B (en) 2022-01-04

Similar Documents

Publication Publication Date Title
CN102820682B (en) A kind of communicated by USB interface and be external equipment charging device and method
CN101622612B (en) Detecting connection to a usb host or hub without using an extra status input
CN101208680A (en) Enhancements to universal serial bus (USB) suspend and resume operations
CN106571657A (en) Terminal, converter and connection conversion system and method
CN209690871U (en) A kind of off-peak electrification system and device
CN102043933A (en) SD (Secure Digital) card reader module with controllable operating state
CN108228509A (en) A kind of USB interface switching device and electronic equipment
CN113568855B (en) Low-cost PCIE hot plug multimode compatible device
CN206400530U (en) A kind of industrial bus system of adaptive three kinds of industrial bus agreements
CN103645730A (en) Motion control card with self-checking function and detection method
CN106340948B (en) A kind of three power supply automatic switchover circuits
CN110518930A (en) Time-sharing power circuit and device
CN204256036U (en) The power-off signal that power supply interrupts produces circuit
CN107422214B (en) A kind of testing device for touch screens
CN201707675U (en) Computer isolation card
CN109344016A (en) Can the USB device switched between host and equipment mode and switching method
CN107153456A (en) OTG connections control method, OTG connection control devices and electronic equipment
CN201425723Y (en) Switch of dual hard disk power lines
CN106502911A (en) Multiple terminals access device
CN108108318B (en) TTL changes MBUS communication terminal
CN215986443U (en) CC of Type C detects functional circuit
CN201966639U (en) Novel monitoring system for direct current screen storage battery
CN201796120U (en) Integrated chip testing device based on ARM and CPLD
CN210573756U (en) USB master-slave state switching circuit
CN211375595U (en) Solid state disk recognition device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant