CN108874704A - Usb circuit and electronic equipment - Google Patents

Usb circuit and electronic equipment Download PDF

Info

Publication number
CN108874704A
CN108874704A CN201710333520.8A CN201710333520A CN108874704A CN 108874704 A CN108874704 A CN 108874704A CN 201710333520 A CN201710333520 A CN 201710333520A CN 108874704 A CN108874704 A CN 108874704A
Authority
CN
China
Prior art keywords
pin
usb type
usb
connect
plug
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
CN201710333520.8A
Other languages
Chinese (zh)
Other versions
CN108874704B (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201710333520.8A priority Critical patent/CN108874704B/en
Publication of CN108874704A publication Critical patent/CN108874704A/en
Application granted granted Critical
Publication of CN108874704B publication Critical patent/CN108874704B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • 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/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Abstract

The present invention provides a kind of usb circuit, including:USB Type-C plug and speech chip, wherein the CC pin of the USB Type-C plug is connect with the enable end of the speech chip, while being grounded by first resistor;Four V of the USB Type-C plugBUSWherein one or more in pin are connect with the power end of the speech chip;The D+ pin of the USB Type-C plug is connect with the positive signal input terminal of the speech chip;The D- pin of the USB Type-C plug is connect with the negative signal input terminal of the speech chip;The V of the USB Type-C plugCONNPin is grounded by pull down resistor.The present invention can carry out making can control using external equipment of the CC pin on USB Type-C plug to insertion, and design is simple.

Description

Usb circuit and electronic equipment
Technical field
The present invention relates to electronic technology field more particularly to a kind of usb circuits and electronic equipment.
Background technique
USB full name Universal Serial Bus (universal serial bus), have multiple interfaces type, as A type, Type B, Mini type etc., every kind of interface are all divided into two parts of socket and plug.USB Type-C interface is a newest for USB3.0 The interface of definition, a total of 24 pins, maximum feature is two-sided inserting, and there is no anti-inserted problems.
The specific pin of the front view of the socket end and plug end of USB Type-C interface defines respectively such as Fig. 1 a, 1b institute Show.Provide there is current source or voltage source output on socket end CC1/CC2 pin according to Type-C agreement, for be inserted into identification and Positive anti-plug identification.
When the external equipment insertion with USB Type-C plug has the electronic equipment of USB Type-C socket, electronics Equipment is that enabling for external equipment is controlled by software mostly, and design is got up more complicated.
Summary of the invention
In view of this, the present invention provides a kind of usb circuit and electronic equipment, design can be simplified, set convenient for outside Standby makes can control.
In a first aspect, the present invention provides a kind of usb circuit, it is suitable for USB Type-C interface plug end, including: USB Type-C plug and speech chip, wherein
The CC pin of the USB Type-C plug is connect with the enable end of the speech chip, while passing through first resistor Ground connection;
Four V of the USB Type-C plugBUSThe power supply of wherein one or more in pin with the speech chip End connection;
The D+ pin of the USB Type-C plug is connect with the positive signal input terminal of the speech chip;
The D- pin of the USB Type-C plug is connect with the negative signal input terminal of the speech chip;
The V of the USB Type-C plugCONNPin is grounded by pull down resistor.
Optionally, the resistance value of the first resistor is 1 megaohm.
Second aspect, the present invention provide a kind of usb circuit, are suitable for USB Type-C interface socket end, including: USB Type-C socket and power management chip, four V of the USB Type-C socketBUSPin and the power management core The voltage output end of piece connects;
The power management chip includes detection control unit, the first current unit and the second current unit, the detection First output end of control unit is connect with the control terminal of first current unit, the second output of the detection control unit End is connect with the control terminal of second current unit;
The output end of first current unit is connect with the CC1 pin of the USB Type-C socket;
The output end of second current unit is connect with the CC2 pin of the USB Type-C socket.
Optionally, first current unit includes the first reference current source and first switch, first reference current The output end in source is connect through the first switch with the CC1 pin of the USB Type-C socket, the control of the first switch End is connect with the first output end of the detection control unit.
Optionally, the output electric current of first current source is 80 microamperes.
Optionally, second current unit includes the second reference current source and second switch, second reference current The output end in source is connect through the second switch with the CC2 pin of the USB Type-C socket, the control of the second switch End is connect with the second output terminal of the detection control unit.
Optionally, the output electric current of second current source is 80 microamperes.
The third aspect, the present invention provide a kind of electronic equipment, including above-mentioned suitable for USB Type-C interface plug end Usb circuit.
Fourth aspect, the present invention provide a kind of electronic equipment, including above-mentioned suitable for USB Type-C interface socket end Usb circuit.
Usb circuit and electronic equipment provided by the invention pass through the CC pin at USB Type-C interface plug end Increase a pull down resistor, when there is the external equipment insertion with USB Type-C plug the electronics of USB Type-C socket to set When standby, it can use CC pin and the external equipment of insertion carried out making can control, compared with prior art, design is simple, reliably Property it is high.
Detailed description of the invention
Fig. 1 a is that the pin of USB Type-C socket front view defines schematic diagram;
Fig. 1 b is that the pin of USB Type-C plug front view defines schematic diagram;
Fig. 2 is the usb circuit schematic diagram at the USB Type-C interface plug end that one embodiment of the invention provides;
Fig. 3 be another embodiment of the present invention provides USB Type-C interface socket end usb circuit schematic diagram;
Fig. 4 is the usb circuit schematic diagram at the USB Type-C interface socket end that further embodiment of this invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of usb circuit, is suitable for USB Type-C interface plug end, as shown in Fig. 2, Including:USB Type-C plug 21 and speech chip 22, wherein
The CC pin of the USB Type-C plug 21 is connect with the enable end En of the speech chip 22, while passing through the One resistance R1 ground connection;
Four V of the USB Type-C plug 21BUSWherein one or more in pin and the speech chip 22 Power end VDD connection has only drawn one of V in figureBUSThe case where pin A9 is connect with VDD;
The D+ pin of the USB Type-C plug 21 is connect with the positive signal input terminal DP of the speech chip 22;
The D- pin of the USB Type-C plug 21 is connect with the negative signal input terminal DM of the speech chip 22;
The V of the USB Type-C plug 21CONNPin is grounded by pull down resistor Rd, Rd=5.1k.
Optionally, the resistance value of the first resistor R1 is 1 megaohm.
According to USB Type-C agreement, only one CC pin of USB Type-C plug, in addition there are one VCONNPin, For powering for the chip in cable, DP, DM are two differential signal lines of USB device, also referred to as D+, D-.
The embodiment of the present invention also provides a kind of usb circuit, is suitable for USB Type-C interface socket end, such as Fig. 3 institute Show, including:USB Type-C socket 31 and power management chip 32, four V of the USB Type-C socket 31BUSPin with The voltage output end V of the power management chip 32BUSConnection;
The power management chip 32 includes detection control unit 321, the first current unit 322 and the second current unit 323, the first output end of the detection control unit 321 is connect with the control terminal of first current unit 322, the detection The second output terminal of control unit 321 is connect with the control terminal of second current unit 323;
The output end of first current unit 322 is connect with the CC1 pin of the USB Type-C socket 31;
The output end of second current unit 323 is connect with the CC2 pin of the USB Type-C socket 31.
According to USB Type-C agreement, VBUSIt is the power supply line that main equipment is powered to USB device, i.e., usual USB device+ 5V;CC1, CC2 are two channel configuration (Channel Configuration) signal pins, are used for capability negotiation, CC1 and CC2 Effect have detection USB connection, detect positive anti-plug, data and V between USB deviceBUSConnection establish with management etc..
Optionally, as shown in figure 4, first current unit 322 includes the first reference current source Ip1 and first switch CC1 of the output end of SW1, the first reference current source Ip1 through the first switch SW1 Yu the USB Type-C socket 31 Pin connection, the control terminal of the first switch SW1 are connect with the first output end of the detection control unit 321.
Similarly, as shown in figure 4, second current unit 323 includes the second reference current source Ip2 and second switch CC2 of the output end of SW2, the second reference current source Ip2 through the second switch SW2 Yu the USB Type-C socket 31 Pin connection, the control terminal of the second switch SW2 are connect with the second output terminal of the detection control unit 321.
In general, the output current design of the first current source Ip1 and the second current source Ip2 are at 80 microamperes.
The embodiment of the present invention also provides a kind of electronic equipment, including above-mentioned suitable for USB Type-C interface plug end Usb circuit, such as Type-C interface digital earphone or digital-to-analog bifunctional earphone set.
The embodiment of the present invention also provides a kind of electronic equipment, including above-mentioned suitable for USB Type-C interface socket end Usb circuit, such as mobile phone.
By taking Type-C interface digital earphone is inserted into mobile phone as an example, after mobile phone power-on enters operating mode, first switch SW1 And second switch SW2 default is closure, CC1 pin and CC2 pin have level output at this time, and default is high level, due to It is not connected with earphone, V at this timeBUSPin is no output.
After earphone is inserted into mobile phone, CC1 pin or CC2 pin can detect pull down resistor Rd, due to Rd=5.1k, and institute The output electric current for stating the first current source Ip1 and the second current source Ip2 is 80uA, can calculate voltage and there was only 0.4V, small In 1.2V, illustrate that earphone has been gone up in connection, mobile phone can export V at this timeBUS.And which CC pin (CC1 or CC2) detects drop-down electricity Hinder Rd, so that it may which the direction for determining interface insertion switches RX/TX in passing.
Due to the presence of first resistor R1, the enable end En of speech chip 22 is high level at this time, so speech chip 22 It is enabled, operating mode can be entered.
Since USB Type-C agreement defines only the situation that CC pin voltage is less than 2.75V, for the electricity on CC pin Situation of the pressure greater than 2.75V does not have its function of specific definition, therefore the embodiment of the present invention will not influence existing type-C interface Insertion detection and positive/negative slotting detection.
When mobile phone is in standby or battery saving mode, first switch that detection control unit 321 will be connect with CC pin SW1 or second switch SW2 is disconnected, and due to the presence of first resistor R1, the enable end En of speech chip 22 becomes low level at this time, So speech chip 22 can enter battery saving mode or closing, when mobile phone is needed using earphone, detection control unit 321 again will First switch SW1 or second switch the SW2 closure connecting with CC pin, the enable end En of speech chip 22 becomes again at this time High level, speech chip 22 are again enabled.
It can thus be seen that a first resistor R1 is increased by the CC pin at USB Type-C interface plug end, from And mobile phone can use CC pin and carry out making can control to the earphone of insertion, compared with prior art, design is simple, reliability It is high.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (9)

1. a kind of usb circuit is suitable for USB Type-C interface plug end, which is characterized in that including:USB Type-C is inserted Head and speech chip, wherein
The CC pin of the USB Type-C plug is connect with the enable end of the speech chip, while being connect by first resistor Ground;
Four V of the USB Type-C plugBUSThe power end of wherein one or more and the speech chip in pin connects It connects;
The D+ pin of the USB Type-C plug is connect with the positive signal input terminal of the speech chip;
The D- pin of the USB Type-C plug is connect with the negative signal input terminal of the speech chip;
The V of the USB Type-C plugCONNPin is grounded by pull down resistor.
2. usb circuit according to claim 1, which is characterized in that the resistance value of the first resistor is 1 megaohm.
3. a kind of usb circuit is suitable for USB Type-C interface socket end, which is characterized in that including:USB Type-C is inserted Seat and power management chip, four V of the USB Type-C socketBUSThe voltage output of pin and the power management chip End connection;
The power management chip includes detection control unit, the first current unit and the second current unit, the detection control First output end of unit is connect with the control terminal of first current unit, the second output terminal of the detection control unit with The control terminal of second current unit connects;
The output end of first current unit is connect with the CC1 pin of the USB Type-C socket;
The output end of second current unit is connect with the CC2 pin of the USB Type-C socket.
4. usb circuit according to claim 3, which is characterized in that first current unit includes the first benchmark Current source and first switch, the output end of first reference current source is through the first switch and the USB Type-C socket The connection of CC1 pin, the control terminal of the first switch connect with the first output end of the detection control unit.
5. usb circuit according to claim 4, which is characterized in that the output electric current of first current source is 80 Microampere.
6. usb circuit according to claim 3, which is characterized in that second current unit includes the second benchmark Current source and second switch, the output end of second reference current source is through the second switch and the USB Type-C socket The connection of CC2 pin, the control terminal of the second switch connect with the second output terminal of the detection control unit.
7. usb circuit according to claim 6, which is characterized in that the output electric current of second current source is 80 Microampere.
8. a kind of electronic equipment, which is characterized in that including usb circuit as claimed in claim 1 or 2.
9. a kind of electronic equipment, which is characterized in that including the usb circuit as described in any one of claim 3 to 7.
CN201710333520.8A 2017-05-12 2017-05-12 USB interface circuit and electronic equipment Active CN108874704B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710333520.8A CN108874704B (en) 2017-05-12 2017-05-12 USB interface circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710333520.8A CN108874704B (en) 2017-05-12 2017-05-12 USB interface circuit and electronic equipment

Publications (2)

Publication Number Publication Date
CN108874704A true CN108874704A (en) 2018-11-23
CN108874704B CN108874704B (en) 2019-12-13

Family

ID=64319615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710333520.8A Active CN108874704B (en) 2017-05-12 2017-05-12 USB interface circuit and electronic equipment

Country Status (1)

Country Link
CN (1) CN108874704B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120404A (en) * 2015-07-31 2015-12-02 华为技术有限公司 Audio equipment, terminal equipment and electronic equipment
US20160308527A1 (en) * 2015-04-17 2016-10-20 Samsung Electronics Co., Ltd. Integrated circuit and cable assembly including the same
CN205692122U (en) * 2016-05-17 2016-11-16 深圳慧能泰半导体科技有限公司 A kind of USB Type C interface circuit and control device thereof
CN206024047U (en) * 2016-08-11 2017-03-15 歌尔股份有限公司 A kind of earphone
CN206162503U (en) * 2016-08-11 2017-05-10 深圳慧能泰半导体科技有限公司 USBType C interface circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160308527A1 (en) * 2015-04-17 2016-10-20 Samsung Electronics Co., Ltd. Integrated circuit and cable assembly including the same
CN105120404A (en) * 2015-07-31 2015-12-02 华为技术有限公司 Audio equipment, terminal equipment and electronic equipment
CN205692122U (en) * 2016-05-17 2016-11-16 深圳慧能泰半导体科技有限公司 A kind of USB Type C interface circuit and control device thereof
CN206024047U (en) * 2016-08-11 2017-03-15 歌尔股份有限公司 A kind of earphone
CN206162503U (en) * 2016-08-11 2017-05-10 深圳慧能泰半导体科技有限公司 USBType C interface circuit

Also Published As

Publication number Publication date
CN108874704B (en) 2019-12-13

Similar Documents

Publication Publication Date Title
CN106291210B (en) USB interface detector, USB interface detection method, USB connector and electronic equipment
US20210044101A1 (en) Usb type-c/pd controller having integrated vbus to cc short protection
US8723476B2 (en) USB dedicated charger identification circuit
US10241935B2 (en) Portable device, cable assembly, and USB system
CN102064582B (en) Terminal capable of supplying power for outside
US10658860B2 (en) Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
US9904642B2 (en) Detection circuit of universal serial bus
US20100052620A1 (en) Battery charger ic including built-in usb detection
US10200019B2 (en) Power removal monitor circuit for interface disconnect detect
WO2021135687A1 (en) Electronic device and accessory having both quick charging function and audio transmission function
US10845398B2 (en) Interface circuitry for bidirectional power connector
US20070075680A1 (en) Charging mode control circuit
CN108628787B (en) Interface control circuit
US9977475B2 (en) Over voltage protection for a communication line of a bus
US20120096286A1 (en) Charging management method, charging control circuit and the host apparatus having the same
EP2642400A2 (en) Processing device and processing system
US20150325960A1 (en) Universal serial bus interface and mobile device
CN108874704A (en) Usb circuit and electronic equipment
WO2018133409A1 (en) Power management circuit, electronic device, and method for controlling electronic device
US10051395B2 (en) Accessory management and data communication using audio port
CN112086830B (en) Data line circuit communicating with iOS device
CN203760209U (en) MHL cable and MHL cable hot plug detecting system
CN108572935B (en) USB interface control circuit
CN103700444B (en) A kind of MHL cable, MHL cable hot plug detection system and detection method
CN217010374U (en) Interface integrated circuit and electronic 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