CN207037649U - A kind of USB switching circuits of smart machine - Google Patents
A kind of USB switching circuits of smart machine Download PDFInfo
- Publication number
- CN207037649U CN207037649U CN201720782459.0U CN201720782459U CN207037649U CN 207037649 U CN207037649 U CN 207037649U CN 201720782459 U CN201720782459 U CN 201720782459U CN 207037649 U CN207037649 U CN 207037649U
- Authority
- CN
- China
- Prior art keywords
- usb
- pin
- switching
- switching switch
- smart machine
- 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.)
- Active
Links
Landscapes
- Telephone Function (AREA)
Abstract
The utility model provides a kind of USB switching circuits of smart machine, belongs to electronic circuit field.The utility model is arranged between master cpu and USB interface, including the first switching switch, the second switching switch and HUB expansion modules, wherein, the output end of the master cpu is connected with the first switching switch, the first switching switch switchs with the second switching, or be connected by HUB expansion modules with the second switching switch, the HUB expansion modules support multiple USB peripherals, and the second switching switch is connected with USB interface.The beneficial effects of the utility model are:Compatible OTG patterns and DEVICE patterns, both may select for main equipment, connect USB flash disk etc. from peripheral hardware, can also be selected as slave unit, even other main equipments such as computer, take into account the functions such as USB downloads/debugging/peripheral hardware.Support the quantity of the USB ports of smart machine such as extended mobile phone.
Description
Technical field
It the utility model is related to a kind of electronic circuit, more particularly to a kind of USB switching circuits of smart machine.
Background technology
In mobile phone hardware circuit design, often because usb ports only have one, run into plus during USB peripheral, USB port is not
The problem of enough.
In addition, the switching of mobile phone working mode can not be carried out in existing hardware circuit, when external connection other equipment,
Used usually as slave units such as USB flash disks.
Utility model content
To solve the problems of the prior art, the utility model provides a kind of USB switching circuits of smart machine.
The utility model is arranged between master cpu and USB interface, including first switching switch, second switching switch and
HUB expansion modules, wherein, the output end of the master cpu is connected with the first switching switch, the first switching switch and second
Switching switch, or be connected by HUB expansion modules with the second switching switch, the HUB expansion modules are supported outside multiple USB
If the second switching switch is connected with USB interface.
The utility model is further improved, and the first switching switch and the second switching switch are that single-pole double throw is opened
Close, including pin 1, pin 2 and pin 3, the pin 3 can select to turn on pin 1 or pin 2.
The utility model is further improved, and the first switching switch and the second switching switch also include SEL pins, institute
State SEL pins with master cpu to be connected, for setting the conduction mode of the first switching switch and the second switching switch, default situations
Under, turned on for pin 3 and pin 1.
The utility model is further improved, and the mode of operation of the smart machine includes DEVICE patterns and OTG patterns,
When the described first switching switch and the second switching switch turn on for pin 3 and pin 1, the smart machine is DEVICE moulds
Formula, when the described first switching switch and the second switching switch turn on for pin 3 and pin 2, the smart machine is OTG moulds
Formula.
The utility model is further improved, and when the smart machine is OTG patterns, the USB switching circuits are also wrapped
USB output control modules are included, the USB output control modules are connected with USB interface, and HUB expansion modules support smart machine
USB device.
The utility model is further improved, and the USB device includes USB touch pads.
The utility model is further improved, and the HUB expansion modules include GL852G hub controller chips.
The utility model is further improved, and the USB interface includes Type-C interfaces..
Compared with prior art, the beneficial effects of the utility model are:Compatible OTG patterns and DEVICE patterns, both can be with
Main equipment is selected as, USB flash disk etc. is connect from peripheral hardware, slave unit can also be selected as, even other main equipments such as computer, take into account USB
The functions such as download/debugging/peripheral hardware.Support the quantity of the USB ports of smart machine such as extended mobile phone.
Brief description of the drawings
Fig. 1 is the utility model structure diagram;
Fig. 2 is the utility model circuit theory diagrams;
Fig. 3-Fig. 8 is Fig. 2 local amplification circuit figures.
Embodiment
The utility model is described in further details with reference to the accompanying drawings and examples.
As shown in figure 1, the utility model is arranged between master cpu and USB interface, including the first switching switch SW1, the
Two switching switch SW2 and HUB(Hub)Expansion module HUB, wherein, the output end of the master cpu switchs with the first switching
SW1 is connected, the first switching switch SW1 and second switching switch SW1, or is switched by HUB expansion modules HUB and second
Switch SW2 is connected, and the HUB expansion modules HUB supports multiple USB peripherals, the second switching switch SW2 and USB interface phase
Even.
It is described to be illustrated by the smart electronicses product such as mobile phone, tablet personal computer, this example of smart machine by taking mobile phone as an example,
The mobile phone has two kinds of mode of operations, is respectively:
1. USB DEVICE patterns:Refer to mobile phone CPU USB port workings in slave unit pattern, mobile phone connection computer or
Other main equipments of person.
2. USB OTG patterns, the USB port for referring to mobile phone CPU is operated in main equipment pattern, mobile phone connection USB flash disk, waits from outer
If.
The USB interface, which is, to be Type-C interfaces on the market, Mini USB, Micro USB etc..The of this example
The one switching switching switches of switch SW1 and second SW2 is single-pole double-throw switch (SPDT), including pin 1, pin 2 and pin 3, described to draw
Pin 3 can select to turn on pin 1 or pin 2.
The first switching switch SW1 and second switching switches SW2 also includes SEL pins, the SEL pins and master control
CPU is connected, the conduction mode for switching SW1 and second for setting first to switch and switching switch SW2, is pin 3 under default situations
Turned on pin 1.
In this example, when the described first switching switching switches of switch SW1 and second SW2 is pin 3 and pin 1 turns on, institute
It is DEVICE patterns to state mobile phone, when the described first switching switching switches of switch SW1 and second SW2 is that pin 3 and pin 2 turn on
When, the smart machine is OTG patterns.
When the cut pins 2 of CPU_USB, equivalent to a USB HUB has been met on usb bus, so as to be extended to system
How many USB ports, for connecing multiple USB peripherals.This example SW1/SW2 is by CPU Synchronization Controls, so double switch SW1/SW2
Work 3-1/3-2 states simultaneously, hereby, it is achieved that USB is direct-connected or USB HUB connect peripheral hardware.
The USB_CON interfaces of this example, compatible OTG patterns and DEVICE patterns, when for OTG patterns when, path CPU_USB
>SW1>HUB>SW2>USB_CON;When for DEVICE patterns when, path CPU_USB>SW1>SW2>USB_CON.
Wherein, the port in HUB can connect various USB devices, USB mouse, USB flash disk, USB camera etc., support peripheral hardware
Quantity be not limited to P1, P2, P3 tri-, can also be extended according to actual conditions.
As one embodiment of the present utility model, as shown in Figures 2 and 3, the USB interface of this example is Type-C interfaces
A06, A07 and symmetrical B07 and B06 pins in U4, U4 are connected with the second switching switch SW2.
As shown in Fig. 2-Fig. 6, the HUB expansion modules HUB of this example includes GL852G hub controller chip U13, this example
First switching switch SW1 pin D+ and pin D- be connected respectively with the CPU of mobile phone, for being communicated with mobile phone CPU, pin D1
+ and pin D1+s and pin D1- of the pin D1- respectively with the second switching switch SW2 be connected, pin D2+ and pin D2- respectively with
Hub controller chip U13 pin DP0 is connected with pin DM0, the pin DM3 of the hub controller chip U13 and
Pin D2-s and pin D2+ of the pin DP3 respectively with the second switching switch SW2 are connected, the pin D of the second switching switch SW2
+ and pin D- connect Type-C interfaces U4 A06, A07 and symmetrical B07 and B06 pins respectively.Wherein, hub controller core
Piece U13 pin X1 and pin X2 connects oscillating circuit, and Y3 is crystal resonator in figure.
As shown in Fig. 2, Fig. 7, when the smart machine is OTG patterns, the USB switching circuits also include USB and exported
Control module, the USB output control modules are connected with Type-C interfaces U4, and HUB expansion modules support the USB of smart machine to set
It is standby.The USB device of the smart machine of this example can be USB touch pads, as shown in figure 8, the pin 2 of the USB touch pads J3500
Hub controller chip U13 pin DM2 and pin DP2 is met with pin 3, or USB camera etc..In Fig. 7 and Fig. 8
OTG_VOUT be by 3.3V power supply chips and 5V boost chips conversion after 5V power supplys.
The utility model compatibility OTG patterns and DEVICE patterns, both may select for main equipment, connect USB flash disk etc. from peripheral hardware,
Slave unit can also be selected as, even other main equipments such as computer, take into account the functions such as USB downloads/debugging/peripheral hardware.Support extension
The quantity of the USB port of the smart machines such as mobile phone.
Embodiment described above is better embodiment of the present utility model, and it is new not to limit this practicality with this
The specific implementation scope of type, the scope of the utility model includes being not limited to present embodiment, all according to the utility model
The equivalence changes made are in the scope of protection of the utility model.
Claims (8)
1. a kind of USB switching circuits of smart machine, are arranged between master cpu and USB interface, it is characterised in that:Including
One switching switch, the second switching switch and HUB expansion modules, wherein, the output end of the master cpu and the first switching switch phase
Even, the first switching switch switchs with the second switching, or is connected by HUB expansion modules with the second switching switch, described
HUB expansion modules support multiple USB peripherals, and the second switching switch is connected with USB interface.
2. USB switching circuits according to claim 1, it is characterised in that:The first switching switch and the second switching are opened
Pass is single-pole double-throw switch (SPDT), including pin 1, pin 2 and pin 3, the pin 3 can select to lead with pin 1 or pin 2
It is logical.
3. USB switching circuits according to claim 1, it is characterised in that:The first switching switch and the second switching are opened
Pass also includes SEL pins, and the SEL pins are connected with master cpu, for setting the first switching switch and the second switching switch
Conduction mode, under default situations, turned on for pin 3 and pin 1.
4. USB switching circuits according to claim 3, it is characterised in that:The mode of operation of the smart machine includes
DEVICE patterns and OTG patterns, it is described when the described first switching switch and the second switching switch turn on for pin 3 and pin 1
Smart machine is DEVICE patterns, when the described first switching switch and the second switching switch turn on for pin 3 and pin 2, institute
It is OTG patterns to state smart machine.
5. USB switching circuits according to claim 4, it is characterised in that:When the smart machine is OTG patterns, institute
Stating USB switching circuits also includes USB output control modules, and the USB output control modules are connected with USB interface, HUB expanded modes
Block supports the USB device of smart machine.
6. USB switching circuits according to claim 5, it is characterised in that:The USB device includes USB touch pads.
7. according to the USB switching circuits described in claim any one of 1-6, it is characterised in that:The HUB expansion modules include
GL852G hub controller chips.
8. USB switching circuits according to claim 7, it is characterised in that:The USB interface includes Type-C interfaces.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720782459.0U CN207037649U (en) | 2017-06-30 | 2017-06-30 | A kind of USB switching circuits of smart machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720782459.0U CN207037649U (en) | 2017-06-30 | 2017-06-30 | A kind of USB switching circuits of smart machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207037649U true CN207037649U (en) | 2018-02-23 |
Family
ID=61466334
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201720782459.0U Active CN207037649U (en) | 2017-06-30 | 2017-06-30 | A kind of USB switching circuits of smart machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207037649U (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109960677A (en) * | 2019-03-25 | 2019-07-02 | 晶晨半导体(上海)股份有限公司 | A kind of expanded circuit for USB interface |
CN110175143A (en) * | 2019-05-13 | 2019-08-27 | 晶晨半导体(上海)股份有限公司 | A kind of USB interface device and control method for supporting more HOST He list OTG |
CN111309658A (en) * | 2019-12-02 | 2020-06-19 | 深圳市康佳壹视界商业显示有限公司 | Equipment that contains multi-functional USBType-C interface |
CN111339006A (en) * | 2020-02-24 | 2020-06-26 | 广东天波信息技术股份有限公司 | USB debugging port multiplexing system and control method |
CN112416835A (en) * | 2021-01-25 | 2021-02-26 | 智道网联科技(北京)有限公司 | Intelligent vehicle-mounted networking terminal mainboard, intelligent vehicle-mounted networking terminal and debugging method |
-
2017
- 2017-06-30 CN CN201720782459.0U patent/CN207037649U/en active Active
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109960677A (en) * | 2019-03-25 | 2019-07-02 | 晶晨半导体(上海)股份有限公司 | A kind of expanded circuit for USB interface |
CN109960677B (en) * | 2019-03-25 | 2023-04-28 | 晶晨半导体(上海)股份有限公司 | Extension circuit for USB interface |
CN110175143A (en) * | 2019-05-13 | 2019-08-27 | 晶晨半导体(上海)股份有限公司 | A kind of USB interface device and control method for supporting more HOST He list OTG |
CN111309658A (en) * | 2019-12-02 | 2020-06-19 | 深圳市康佳壹视界商业显示有限公司 | Equipment that contains multi-functional USBType-C interface |
CN111339006A (en) * | 2020-02-24 | 2020-06-26 | 广东天波信息技术股份有限公司 | USB debugging port multiplexing system and control method |
CN112416835A (en) * | 2021-01-25 | 2021-02-26 | 智道网联科技(北京)有限公司 | Intelligent vehicle-mounted networking terminal mainboard, intelligent vehicle-mounted networking terminal and debugging method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN207037649U (en) | A kind of USB switching circuits of smart machine | |
CN101329663B (en) | Apparatus and method for implementing pin time-sharing multiplexing | |
CN203241876U (en) | Self-adaptive configuration PCIE expansion box | |
CN202134745U (en) | Multifunctional USB OTG data line | |
CN103678238A (en) | LXI-PXI\PXIe adaptation system | |
CN104834620A (en) | SPI (serial peripheral interface) bus circuit, realization method and electronic equipment | |
CN110399328B (en) | Control method and device for board-mounted graphics processor | |
CN104484303A (en) | 1553B node circuit based on SoC (system on a chip) chip | |
CN103580975A (en) | On-line reconfigurable generalized bus data conversion method | |
CN204633911U (en) | A kind of full tunnel touches TV integrated machine | |
CN207408859U (en) | EMP3288 embedded computer core boards | |
CN105512085A (en) | Information processing method and electronic equipment | |
CN201518112U (en) | Major-minor interface type mainboard | |
WO2019147253A1 (en) | Power management of discrete communication port components | |
CN204836201U (en) | High compatible ARM communication manager | |
CN202720638U (en) | Serial conversion circuit | |
CN104090860B (en) | A kind of display device and its operating method | |
CN203859885U (en) | Extending circuit board and terminal | |
CN213751063U (en) | Control device of serial communication bus and electronic equipment | |
CN210295083U (en) | Display board card USB peripheral hardware connecting system | |
CN202789469U (en) | Embedded air compressor control system | |
CN210091164U (en) | Switching circuit and device | |
CN209029000U (en) | Engineering machinery display screen, engineering machinery and project monitor and control system | |
CN204706031U (en) | Serial peripheral equipment interface SPI bus circuit and electronic equipment | |
TWI697781B (en) | Control device and related computer application program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |