A kind of tail of portable terminal is inserted
Technical field
The tail that the present invention relates to mobile communication terminal plugs the meter technology, and the tail of the portable terminal of particularly a kind of 10PIN (i.e. 10 ports) is inserted.
Background technology
Along with the development of mobile communication, cell-phone function is become stronger day by day, and product is also more and more diversified simultaneously, causes the kind of mobile phone spare and accessory parts also more and more, as charger, earphone, download line, lubber-line etc.The otherness of these spare and accessory parts is big more, just many more to the inconvenience that users bring, in order to reduce the design difference of mobile phone spare and accessory parts, gb specification the design specification of charger for mobile phone, thereby make all kinds of different mobile phones can use same charger to charge.What GB was stipulated is the standard of charger USB end, and an other end is with can designing according to the standard of oneself that mobile phone links to each other, and to this, each tame Chevron Research Company (CRC) has different designs, as: the design of 10PIN, 16PIN, 18PIN etc.
See also Fig. 1.Widely used on the market at present MiniUSB interface comprises 5 PIN pin, i.e. the anodal data pin D+6 of negative pole data pin D-4, the USB of supply power voltage pin VCC2, USB, ID pin 8 and ground pin GND10.Wherein ID pin 8 keeps unsettled or multiplexing other functions when MiniUSB makees slave unit.
Summary of the invention
For overcoming the deficiency of above-mentioned prior art, the technical problem to be solved in the present invention provides a kind of tail of portable terminal and inserts, the widely used on the market MiniUSB interface of compatibility, on this basis, 5 independently PIN pin have been expanded again, be the standard of compatible MiniUSB, design that again can compatible multiple variety classes mobile phone.
For solving the problems of the technologies described above, technical scheme of the present invention is:
The tail of portable terminal of the present invention is inserted, and comprises anodal data pin D+, ID pin and the ground pin GND of negative pole data pin D-, the USB of supply power voltage pin VCC, USB.
The tail of described portable terminal is inserted and is also comprised 5 extended pins, be respectively headset detection pin HDETECT, the transmission signal pins U0TXD of portable terminal serial ports 0, the received signal pin U0RXD of portable terminal serial ports 0, Mike's input signal pin HEADMIC of mobile terminal earphone of cell voltage pin VBAT, portable terminal, pin NBOOT and described ID pin multiplexing are selected in the download that this portable terminal tail is inserted;
The L channel pin HEAD-L of the peripheral hardware earphone of described portable terminal, R channel pin HEAD-R are multiplexing with the transmission signal pins U0TXD of the received signal pin U0RXD of portable terminal serial ports 0, portable terminal serial ports 0 respectively, do switching by analog switch therebetween, a universal I/O port of the control end of this analog switch and baseband chip (General-Purpose IO ports is called for short GPIO) links to each other.
Judge the state of described ID pin during this mobile terminal-opening, when described ID pin was low level, this portable terminal was in downloading mode; When described ID pin was high level, this portable terminal was in the normal boot-strap pattern.
When the control end output low level signal of described analog switch, the L channel pin HEAD-L of the peripheral hardware earphone of described portable terminal is communicated with the received signal pin U0RXD of portable terminal serial ports 0, and the R channel pin HEAD-R of earphone is communicated with the transmission signal pins U0TXD of portable terminal serial ports 0; When the control end of analog switch is exported high level signal, the serial ports 0 of baseband chip sends signal pins and is communicated with the received signal pin U0RXD of portable terminal serial ports 0, and the serial ports 0 received signal pin of baseband chip is communicated with the transmission signal pins U0TXD of portable terminal serial ports 0.
Described analog switch is the PI5A3158 single-pole double throw type switch of PERICOM company.
Compared with prior art, the invention has the beneficial effects as follows:
The 10PIN tail that the invention provides a kind of portable terminal is inserted, and widely used common MiniUSB mainly contains 5 pins on the market, and 10PIN tail of the present invention is inserted on the basis of MiniUSB, has expanded 5 other pins.In the present invention's design, left and right acoustic channels HEAD-L, the HEAD-R of the peripheral hardware earphone of portable terminal will follow U0RXD, U0TXD multiplexing respectively, does switching by an analog switch therebetween in addition, and the switching shelves of analog switch are controlled by the GPIO mouth of baseband chip and finished.The external equipment that portable terminal is commonly used mainly contains earphone, downloads line, data wire etc., and these peripheral hardwares all need to join with the tail of 10PIN is slotting, so tail is inserted the demand that the definition of PIN pin will be satisfied each peripheral hardware.
The present invention is directed to the PIN pin that connects the mobile phone end; unified design standard; by stipulating unified interface mode and specification requirement; make the mobile communication hand-held set of different model can use the tail of same specification to insert; reduce electron wastes; protect environment, economize on resources, reduce the mobile phones design cost simultaneously.
Description of drawings
Fig. 1 is the pin schematic diagram of prior art MiniUSB.
Fig. 2 is the pin schematic diagram that 10PIN tail of the present invention is inserted.
Fig. 3 is an analog switch connected mode schematic diagram of the present invention.
Embodiment
Specific embodiments of the present invention are further described in detail below in conjunction with drawings and Examples, but should not limit protection scope of the present invention with this.
Seeing also Fig. 2 is the pin schematic diagram that 10PIN tail of the present invention is inserted.The tail of portable terminal of the present invention is inserted, and comprises anodal data pin D+6, ID pin 8 and the ground pin GND10 of negative pole data pin D-4, the USB of supply power voltage pin VCC 2, USB.Wherein ID pin 8 keeps unsettled or multiplexing other functions when MiniUSB makees slave unit.
The tail of described portable terminal is inserted and is also comprised 5 extended pins, be respectively headset detection pin HDETECT3, the transmission signal pins U0TXD5 of portable terminal serial ports 0, the received signal pin U0RXD7 of portable terminal serial ports 0, Mike's input signal pin HEADMIC9 of mobile terminal earphone of cell voltage pin VBAT1, portable terminal, download selection pin NBOOT and described ID pin 8 that this portable terminal tail is inserted are multiplexing;
Judge the state of described ID pin 8 during this mobile terminal-opening, when described ID pin 8 was low level, this portable terminal was in downloading mode; When described ID pin 8 was high level, this portable terminal was in the normal boot-strap pattern.
The L channel pin HEAD-L of the peripheral hardware earphone of described portable terminal, R channel pin HEAD-R are multiplexing with the transmission signal pins U0TXD5 of the received signal pin U0RXD7 of portable terminal serial ports 0, portable terminal serial ports 0 respectively, do switching by analog switch 11 therebetween, the control end 110 of this analog switch 11 links to each other with a GPIO mouth of baseband chip, and promptly the switching shelves of analog switch are controlled by the GPIO mouth of baseband chip and finished.The PI5A3158 single-pole double throw pattern that described analog switch 11 is PERICOM companies is intended switch.
Seeing also Fig. 3 is analog switch connected mode schematic diagram of the present invention.Be used for controlling the gating mode of analog switch 11 when the control end 110 of described analog switch 11, when control end 110 output low level signals, the L channel pin HEAD-L111 of the peripheral hardware earphone of described portable terminal is communicated with the received signal pin U0RXD7 of portable terminal serial ports 0, the R channel pin HEAD-R113 of earphone is communicated with the transmission signal pins U0TXD5 of portable terminal serial ports 0, and at this moment the user can use earphone to listen to the music or connect and answer phone; When the control end 110 of analog switch 11 is exported high level signals, the serial ports 0 of baseband chip sends signal pins 112 and is communicated with the received signal pin U0RXD7 of portable terminal serial ports 0, the serial ports 0 received signal pin 114 of baseband chip is communicated with the transmission signal pins U0TXD5 of portable terminal serial ports 0, at this moment researches and develops the engineer and can normally use serial port function to download or debug.
The control mode of the control end 110 of analog switch 11 is as follows:
GPIO_SetValue((1-0),FALSE);
GPIO_SetValue((1-0),TRUE);
FALSE represents to set 1-0 and is output as low level, and TRUE represents to set 1-0 and is output as high level.
The external equipment that portable terminal is commonly used mainly contains earphone, downloads line, data wire, etc., these peripheral hardwares all need to insert with the tail of 10PIN and join, so tail is inserted the demand that the definition of PIN pin will be satisfied each peripheral hardware.
Wherein the signal of earphone needs is from headset detection pin HDETECT3, the received signal pin U0RXD7 of portable terminal serial ports 0, the transmission signal pins U0TXD5 of portable terminal serial ports 0, the Mike's input signal pin HEADMIC9 and the ground pin GND10 of mobile terminal earphone of portable terminal, earphone is mainly realized listening to the music, and connects functions such as answering phone.
The signal that downloading line needs is selected pin NBOOT and ground pin GND10 from received signal pin U0RXD7, the transmission signal pins U0TXD5 of portable terminal serial ports 0, the download of cell voltage pin VBAT1, portable terminal serial ports 0, downloads download and debug function that line is mainly realized program.
The signal that data wire needs is from anodal data pin D+6 and the ground pin GND10 of negative pole data pin D-4, the USB of supply power voltage pin VCC 2, USB, and data wire is mainly realized the data-transformation facility that charges and follow PC.This shows, the cable of common 5PIN MiniUSB, the data wire that can be used as portable terminal fully uses, and has realized compatible purpose.
The design that the 10PIN tail of mobile phone of the present invention is inserted on the basis of common MiniUSB, has been expanded 5 independently PIN pin, connects demands such as answering phone thereby can satisfy portable terminal download, calibration, charging, earphone.
The above is preferred embodiment of the present invention only, is not to be used for limiting practical range of the present invention.Be that all equivalences of doing according to the content of the present patent application claim change and modification, all should be technology category of the present invention.