CN102158575A - Method for expanding USB (Universal Serial Bus) interface of mobile terminal into earphone interface - Google Patents
Method for expanding USB (Universal Serial Bus) interface of mobile terminal into earphone interface Download PDFInfo
- Publication number
- CN102158575A CN102158575A CN2011100414662A CN201110041466A CN102158575A CN 102158575 A CN102158575 A CN 102158575A CN 2011100414662 A CN2011100414662 A CN 2011100414662A CN 201110041466 A CN201110041466 A CN 201110041466A CN 102158575 A CN102158575 A CN 102158575A
- Authority
- CN
- China
- Prior art keywords
- interface
- earphone
- usb
- mobile terminal
- analog switch
- 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.)
- Pending
Links
Images
Abstract
The invention relates to a method for expanding the USB (Universal Serial Bus) interface of a mobile terminal into an earphone interface, which comprises the following steps: at the USB interface of the mobile terminal, multiplexing the R and D+ of earphones, multiplexing the L and D- of the earphones, and multiplexing the M and ID of the earphones f; and arranging an analog switch on the mainboard of a mobile phone, wherein the analog switch is used for switching the earphone interface and the USB interface. According to the method, the USB interface is multiplexed into the earphone interface through the analog switch, the baseband platform of the mobile phone is not needed to provide interrupt or ADC (Analog Digital Converter) detection, therefore the method is suitable for different mobile terminal platforms, the design cost is reduced, and great convenience is provided for the debugging test of a design company and the normal use of a user.
Description
Technical field
The present invention relates to moving communicating field, more particularly, relate to a kind of method that the mobile terminal USB interface is expanded to earphone interface.
Background technology
On present China Mobile's terminal market, modal USB interface is a Mini 10pinUSB interface, as shown in Figure 1, in these 10 pins, comprised charging wire (VBUS), data line (D-, D+), OTG Function detection pin (ID/ACC), serial ports is downloaded line (TX, RX) and audio interface (MIC, Speaker).
European commission of European Union is for environmental protection and guarantee the convenience that the consumer uses, expression was from January 1st, 2010, Europe charger for mobile phone standard will unify to adopt the Micro5pin USB of standard, Micro USB is a portable version of USB 2.0 standards, the Mini USB interface of using than present part portable terminal is littler, Micro USB is the specification of future generation of Mini-USB, is formulated on January 4th, 2007 by USB standardization body U.S. USB Implementers Forum (USB-IF) and finishes.Pinout has charging (VBUS), data wire (D-, D+), ID and GND as shown in Figure 2 among the 5pin.
Therefore, when we adopt Micro USB, can not use the USB earphone cord to listen to music, and need the extra earphone mouth that increases.Under the more nervous situation of mobile terminal interface, many interface duplexes have become a kind of trend.
Summary of the invention
The technical problem to be solved in the present invention is, at the above-mentioned defective of prior art, provides a kind of method that the mobile terminal USB interface is expanded to earphone interface.
The technical solution adopted for the present invention to solve the technical problems is: a kind of method that the mobile terminal USB interface is expanded to earphone interface is provided, comprise terminal body, five pins of mobile terminal USB interface, be followed successively by charging pin VBUS, data wire pin D-and D+, ID pin and GND pin, described earphone cord is made up of microphone M, R channel R, L channel L, four lines of ground wire, and described method may further comprise the steps:
S1, at the mobile terminal USB interface, the R and the D+ of earphone is multiplexing, and the L and the D-of earphone are multiplexing, the M and the ID of earphone are multiplexing;
S2, analog switch is set on cell phone mainboard, is used to switch earphone interface and USB interface.
More specifically, above-describedly a kind of the mobile terminal USB interface is expanded to the method for earphone interface, described analog switch is the single-pole double throw analog switch.
More specifically, above-describedly a kind of the mobile terminal USB interface is expanded to the method for earphone interface, described analog switch acquiescence is in the earphone channel status, when detecting the USB insertion, switch to the USB interface channel status, after USB extracts, revert to the earphone channel status; The system default interface end links to each other with the earphone of portable terminal inside, when detecting the earphone insertion, and the conducting of analog switch internal phone path, the USB path turn-offs.
Implement of the present inventionly a kind of the mobile terminal USB interface to be expanded to the method for earphone interface, have following beneficial effect:
The present invention can realize USB interface is multiplexed with earphone interface by analog switch.Do not need the mobile phone baseband platform to provide and interrupt or the ADC detection, only need the adding analog switch can finish interface and detect, be applicable to different mobile-terminal platforms, saved design cost, made things convenient for the debugging test of Chevron Research Company (CRC) and user's normal use.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is a Mini 10pin USB interface schematic diagram;
Fig. 2 is a Micro 5pin USB interface schematic diagram;
Fig. 3 is a kind of mentality of designing schematic diagram that the mobile terminal USB interface is expanded to the method for earphone interface of the present invention;
Fig. 4 is a kind of FSA2268 analog symbol schematic diagram that the mobile terminal USB interface is expanded to the method for earphone interface of the present invention;
Fig. 5 is a kind of FSA2268 truth table schematic diagram that the mobile terminal USB interface is expanded to the method for earphone interface of the present invention;
Fig. 6 is the control corresponding relation figure of the analog switch of a kind of method that the mobile terminal USB interface is expanded to earphone interface of the present invention;
Fig. 7 is a kind of hardware elementary diagram that the mobile terminal USB interface is expanded to the method for earphone interface of the present invention.
Embodiment
As shown in Figure 2, in the embodiment of a kind of method that the mobile terminal USB interface is expanded to earphone interface of the present invention, portable terminal Micro USB interface has five pins, is followed successively by charging (VBUS), data wire (D-, D+), ID and GND.The earphone cord of general standard is made up of microphone (M), R channel (R), L channel (L), four lines of ground wire.Generally speaking, mobile terminal USB and earphone cord are worked seldom simultaneously, just provide possibility for interface in two kinds of shared portable terminals of line.
At the mobile terminal USB interface, the R and the D+ of earphone is multiplexing, and the L and the D-of earphone are multiplexing, and the M and the ID of earphone are multiplexing.Switch with three single-pole double throw analog switches, the analog switch acquiescence is in the earphone channel status at ordinary times, when detecting the USB insertion, switches to the USB interface channel status, after extracting, reverts to the earphone channel status, is contemplated that shown in Figure 3.
1. headset detection and judgement:
The default interface end links to each other with the earphone of portable terminal inside, realize by analog switch, because whether relevant with the high-low level of analog switch control end the conducting of analog switch is, so we select the acquiescence control end for use is low level analog switch, acquiescence analog switch internal phone path conducting like this, the USB path turn-offs.
2.USB detection and judgement
Control end is the earphone path during for low level, and control end is a usb communication during for high level.The high level input of analog switch is by the VBUS input, and when the USB line inserted, analog switch was got on the USB circuit; When the USB line is extracted, produce again and interrupt, analog switch returns to the state that is communicated with the earphone path again, thereby has realized insertion and the detection of USB.
Because this mentality of designing does not need cell phone platform to provide relevant interruption or ADC to detect, and can use on any cell phone platform.Following embodiment only provides the interlock circuit part of this design, switches D+, D-, the ID of L, R, M and the USB of earphone with two two-way single-pole double throw analog switch FSA2268.VBUS pin by USB comes analog switch is controlled.
1. concrete grammar is selected and controlled to analog switch for use:
This designs us and adopts the FSA2268 analog switch, is the two-way single-pole double-throw switch (SPDT).Analog symbol such as Fig. 4, truth table such as Fig. 5.
Under default situations, USB does not insert, and S1 and S2 are low level; L, R, M connect; Be and internal switching that the judgement that can carry out earphone detects and use after earphone inserts in this case; After USB interface was inserted, by 150K and 100K electric resistance partial pressure, S1 and S2 were high level (3V), and D+, D-, ID connect, and can realize that USB inserts; After extracting, gets back to USB default conditions again.Control corresponding relation such as Fig. 6 of analog switch after putting in order, the hardware elementary diagram part is as Fig. 7.
In sum, as those of ordinary skill is scrutable in the art, described in this specification is a preferred embodiment of the present invention, and all changes of being made under this invention's idea or modification all should be in claim protection ranges of the present invention.
Claims (3)
1. method that the mobile terminal USB interface is expanded to earphone interface, comprise terminal body, five pins of mobile terminal USB interface, be followed successively by charging pin VBUS, data wire pin D-and D+, ID pin and GND pin, described earphone cord is made up of microphone M, R channel R, L channel L, four lines of ground wire, it is characterized in that described method may further comprise the steps:
S1, at the mobile terminal USB interface, the R and the D+ of earphone is multiplexing, and the L and the D-of earphone are multiplexing, the M and the ID of earphone are multiplexing;
S2, analog switch is set on cell phone mainboard, is used to switch earphone interface and USB interface.
2. according to claim 1ly a kind of the mobile terminal USB interface is expanded to the method for earphone interface, it is characterized in that described analog switch is the single-pole double throw analog switch.
3. according to claim 1 and 2ly a kind of the mobile terminal USB interface is expanded to the method for earphone interface, it is characterized in that described analog switch acquiescence is in the earphone channel status, when detecting the USB insertion, switch to the USB channel status, after USB extracts, revert to the earphone channel status.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100414662A CN102158575A (en) | 2011-02-21 | 2011-02-21 | Method for expanding USB (Universal Serial Bus) interface of mobile terminal into earphone interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100414662A CN102158575A (en) | 2011-02-21 | 2011-02-21 | Method for expanding USB (Universal Serial Bus) interface of mobile terminal into earphone interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102158575A true CN102158575A (en) | 2011-08-17 |
Family
ID=44439747
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100414662A Pending CN102158575A (en) | 2011-02-21 | 2011-02-21 | Method for expanding USB (Universal Serial Bus) interface of mobile terminal into earphone interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102158575A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092793A (en) * | 2011-11-01 | 2013-05-08 | 联想(北京)有限公司 | Switching method and electronic terminal |
CN104023294A (en) * | 2014-05-30 | 2014-09-03 | 广东欧珀移动通信有限公司 | Interface multiplexing apparatus in terminal, and adaptor panel |
CN104484268A (en) * | 2014-11-21 | 2015-04-01 | 厦门美图移动科技有限公司 | Debugging method and mobile terminal |
CN104902096A (en) * | 2015-05-29 | 2015-09-09 | 努比亚技术有限公司 | Mobile terminal |
CN105071795A (en) * | 2015-08-17 | 2015-11-18 | 广东欧珀移动通信有限公司 | Multiplex circuit based on USB interface |
CN105338445A (en) * | 2014-06-26 | 2016-02-17 | 展讯通信(上海)有限公司 | Signal transmission device, method and mobile terminal |
CN105867874A (en) * | 2016-03-25 | 2016-08-17 | 乐视控股(北京)有限公司 | A user device |
CN106331946A (en) * | 2015-06-30 | 2017-01-11 | 宇龙计算机通信科技(深圳)有限公司 | Switching circuit for earphone interface and terminal |
CN106412747A (en) * | 2016-11-04 | 2017-02-15 | 捷开通讯(深圳)有限公司 | Mobile terminal and earphone thereof |
CN107656513A (en) * | 2017-08-25 | 2018-02-02 | 歌尔丹拿音响有限公司 | The mode switching method and embedded device of embedded device |
CN110442541A (en) * | 2019-09-09 | 2019-11-12 | Oppo(重庆)智能科技有限公司 | Terminal device and USB interface-based data transmission method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060223486A1 (en) * | 2005-04-04 | 2006-10-05 | Freescale Semiconductor, Inc. | Method and apparatus for powering and loading software into a battery-less electronic device |
CN101030189A (en) * | 2007-03-09 | 2007-09-05 | 华为技术有限公司 | Method for inspecting connected peripheral apparatus mode, terminal, earphone, charger and USB interface |
US20080140887A1 (en) * | 2006-12-08 | 2008-06-12 | Nokia Corporation | Enhanced communication via a serial interface |
CN101841586A (en) * | 2010-04-27 | 2010-09-22 | 深圳桑菲消费通信有限公司 | Method for expanding earphone interface of mobile phone into serial communication interface |
CN101917497A (en) * | 2010-07-23 | 2010-12-15 | 惠州Tcl移动通信有限公司 | Method and device for earphone and USB to share micro-USB interface |
CN101931674A (en) * | 2010-09-01 | 2010-12-29 | 惠州Tcl移动通信有限公司 | Method and device for sharing Micro-USB interface |
-
2011
- 2011-02-21 CN CN2011100414662A patent/CN102158575A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060223486A1 (en) * | 2005-04-04 | 2006-10-05 | Freescale Semiconductor, Inc. | Method and apparatus for powering and loading software into a battery-less electronic device |
US20080140887A1 (en) * | 2006-12-08 | 2008-06-12 | Nokia Corporation | Enhanced communication via a serial interface |
CN101030189A (en) * | 2007-03-09 | 2007-09-05 | 华为技术有限公司 | Method for inspecting connected peripheral apparatus mode, terminal, earphone, charger and USB interface |
CN101841586A (en) * | 2010-04-27 | 2010-09-22 | 深圳桑菲消费通信有限公司 | Method for expanding earphone interface of mobile phone into serial communication interface |
CN101917497A (en) * | 2010-07-23 | 2010-12-15 | 惠州Tcl移动通信有限公司 | Method and device for earphone and USB to share micro-USB interface |
CN101931674A (en) * | 2010-09-01 | 2010-12-29 | 惠州Tcl移动通信有限公司 | Method and device for sharing Micro-USB interface |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092793B (en) * | 2011-11-01 | 2016-03-02 | 联想(北京)有限公司 | A kind of changing method and electric terminal |
CN103092793A (en) * | 2011-11-01 | 2013-05-08 | 联想(北京)有限公司 | Switching method and electronic terminal |
CN104023294A (en) * | 2014-05-30 | 2014-09-03 | 广东欧珀移动通信有限公司 | Interface multiplexing apparatus in terminal, and adaptor panel |
CN104023294B (en) * | 2014-05-30 | 2017-08-11 | 广东欧珀移动通信有限公司 | Interface duplex device and pinboard in terminal |
CN105338445A (en) * | 2014-06-26 | 2016-02-17 | 展讯通信(上海)有限公司 | Signal transmission device, method and mobile terminal |
CN104484268A (en) * | 2014-11-21 | 2015-04-01 | 厦门美图移动科技有限公司 | Debugging method and mobile terminal |
CN104902096A (en) * | 2015-05-29 | 2015-09-09 | 努比亚技术有限公司 | Mobile terminal |
CN104902096B (en) * | 2015-05-29 | 2018-05-01 | 努比亚技术有限公司 | Mobile terminal |
CN106331946A (en) * | 2015-06-30 | 2017-01-11 | 宇龙计算机通信科技(深圳)有限公司 | Switching circuit for earphone interface and terminal |
CN105071795A (en) * | 2015-08-17 | 2015-11-18 | 广东欧珀移动通信有限公司 | Multiplex circuit based on USB interface |
CN105867874A (en) * | 2016-03-25 | 2016-08-17 | 乐视控股(北京)有限公司 | A user device |
WO2017161746A1 (en) * | 2016-03-25 | 2017-09-28 | 乐视控股(北京)有限公司 | User equipment |
CN106412747A (en) * | 2016-11-04 | 2017-02-15 | 捷开通讯(深圳)有限公司 | Mobile terminal and earphone thereof |
CN107656513A (en) * | 2017-08-25 | 2018-02-02 | 歌尔丹拿音响有限公司 | The mode switching method and embedded device of embedded device |
CN110442541A (en) * | 2019-09-09 | 2019-11-12 | Oppo(重庆)智能科技有限公司 | Terminal device and USB interface-based data transmission method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102158575A (en) | Method for expanding USB (Universal Serial Bus) interface of mobile terminal into earphone interface | |
CN102143266A (en) | Method for extending universal serial bus (USB) interface of mobile terminal into serial communication interface | |
CN101951421B (en) | Expansion use method for cell phone earphone interface | |
CN101917497B (en) | Method and device for earphone and USB to share micro-USB interface | |
CN101931674B (en) | Method and device for sharing Micro-USB interface | |
CN101841586B (en) | Method for expanding earphone interface of mobile phone into serial communication interface | |
CN102082846B (en) | Terminal equipment with plurality of externally arranged shared interfaces | |
CN101901201B (en) | Method and device for realizing USB OTG function on electronic equipment | |
CN101452433B (en) | Diplex interface recognition device and method | |
EP2089805B1 (en) | Enhanced communication via a serial interface | |
CN101022278B (en) | Terminal equipment, connector, charger and charging method | |
CN201260177Y (en) | Frequency modulation antenna switching earphone seat and frequency modulation terminal | |
CN103561369B (en) | Usb interface circuit and electronic equipment | |
CN103716734A (en) | Apparatus and method for detecting insertion of headset into mobile station | |
EP2210315A1 (en) | Multipurpose universal bus cable | |
CN201805529U (en) | Earphone interface shared by serial port download line and earphone, and mobile terminal shared thereby | |
CN201919041U (en) | Terminal equipment with plurality of peripheral sharing interfaces | |
CN201758439U (en) | Micro-USB interface device shared by earphones and USB | |
CN101350989B (en) | Plug adapter for a mobile terminal | |
CN102073470B (en) | Electronic equipment and control method thereof | |
CN101854432A (en) | Mobile phone control method of popping up corresponding functional menu after earphone is plugged in | |
CN109862457A (en) | Terminal device, adapter and charging method | |
CN103888873A (en) | Electronic device and UART output system and method | |
CN101006623B (en) | Single connector for a communication terminal, corresponding electronic circuit, terminal and cable | |
CN201528042U (en) | Antenna device and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110817 |