USPatent applicationPatented

Electronic device capable of being debugged via earphone port

Granted 10 Nov 2015 · no office action yet

Current assignee: ScienBiziP · originally Foxconn Technology Group

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Xiao-Zhan Peng · Examiner: Nadeem Iqbal · AU 2114 · TC 2100

Life of the application

9 dated events
⤢ drag to zoom20142016201820202022202420262028203020322034ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

An electronic device includes an earphone port, an audio amplifier, a digital processor, a multi-way selection switch, and an earphone detection response circuit. The earphone port includes left and right channel pins. The audio amplifier includes an earphone left channel output pin and an earphone right channel output pin. The digital processor includes a data transmission pin and a data receive pin. The multi-way selection switch includes four switches electrically connected between the data transmitting pin and the left channel pin, the data receive pin and the right channel pin, the earphone left channel output pin and the left channel pin, and the earphone right channel output pin and the right channel pin, respectively. The earphone detection response circuit turns on a first switch and a second switch, and turns off a third switch and a fourth switch when the earphone port does not receive an earphone.

Description

6 parts
›FIELD

The present disclosure relates to electronic devices, and particularly to an electronic device capable of being debugged via an earphone port of the electronic device.

›BACKGROUND

Electronic devices, such as mobile phones and tablet computers, often need to be debugged when software of the electronic device is updated or broken. However, a debug port used to debug the electronic device is often covered by a casing of the electronic device, so the casing needs to be opened to debug the electronic device, which is inconvenient.

›BRIEF DESCRIPTION OF THE DRAWINGS

Many aspects of the present disclosure are better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the views.

FIG. 1 is a circuit diagram of an embodiment of an electronic device capable of being debugged via an earphone port.

FIG. 2 is a schematic diagram of an embodiment of a debugging connector used to connect to an earphone port of the electronic device of FIG. 1 .

›DETAILED DESCRIPTION · 1 of 3

The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.” The references “a plurality of” and “a number of” mean “at least two.”

Embodiments of the present disclosure will be described with reference to the accompanying drawings.

FIG. 1 shows an embodiment of an electronic device 100 . The electronic device 100 includes an earphone port 10 , an audio amplifier 20 , a digital processor 30 , a multi-way selection switch 40 , and an earphone detection and response circuit 50 . The electronic device 100 is capable of being debugged via the earphone port 10 .

The earphone port 10 includes a left channel pin L, a right channel pin R, an earphone detection pin EAR-DET, and a ground pin GND. The earphone port 10 is used to receive an earphone plug 110 .

The multi-way selection switch 40 includes a number of switches, such as a first switch K 1 , a second switch K 2 , a third switch K 3 , and a fourth switch K 4 . The first switch K 1 , the second switch K 2 , the third switch K 3 , and the fourth switch K 4 each includes a controlled port CP. For example, each of the switches K 1 , K 2 , K 3 , K 4 is a Complementary Metal Oxide Semiconductor (CMOS) transmission gate.

The audio amplifier 20 includes an earphone left channel output pin Lout 1 and an earphone right channel output pin Rout 1 . The digital processor 30 includes a data transmission pin TX and a data receive pin RX.

The first switch K 1 is electrically connected between the data transmission pin TX of the digital processor 30 , and the left channel pin L of the earphone port 10 , and establishes or cuts off a connection between the data transmission pin TX and the left channel pin L. The second switch K 2 is electrically connected between the data receive pin RX of the digital processor 30 , and the right channel pin R of the earphone port 10 , and establishes or cuts off a connection between the data receive pin RX and the right channel pin R.

The third switch K 3 is electrically connected between the earphone left channel output pin Lout 1 of the audio amplifier 20 , and the left channel pin L of the earphone port 10 , and establishes or cuts off a connection between the earphone left channel output pin Lout 1 and the left channel pin L. The fourth switch K 4 is electrically connected between the earphone right channel output pin Rout 1 of the audio amplifier 20 , and the right channel pin R of the earphone port 10 , and establishes or cuts off a connection between the earphone right channel output pin Rout 1 and the right channel pin R.

The earphone detection and response circuit 50 detects whether the earphone port 10 receives the earphone plug 110 . The earphone detection and response circuit 50 includes a first output port 51 and a second output port 52 . The first output port 51 is electrically connected to the controlled ports CP of the first switch K 1 and the second switch K 2 , and the second output port 52 is electrically connected to the controlled ports CP of the third switch K 3 and the fourth switch K 4 .

When the earphone detection and response circuit 50 detects that the earphone port 10 does not receive the earphone plug 110 , the earphone detection and response circuit 50 outputs a first control signal to the controlled ports CP of the first switch K 1 and the second switch K 2 via the first output port 51 to turn on the first switch K 1 and the second switch K 2 . At the same time, the earphone detection and response circuit 50 outputs a second control signal to the controlled ports CP of the third switch K 3 and the fourth switch K 4 via the second output port 52 to turn off the third switch K 3 and the fourth switch K 4 .

Therefore, when the earphone port 10 does not receive the earphone plug 110 , the data transmission pin TX and the data receive pin RX of the digital processor 30 are respectively connected to the left channel pin L and the right channel pin R of the earphone port 10 via the first switch K 1 and the second switch K 2 . Because the third switch K 3 and the fourth switch K 4 are turned off, the connection between the audio amplifier 20 and the earphone port 10 is cut off

When the earphone port 10 does not receive the earphone 110 , the electronic device 100 can be debugged via the earphone port 10 by an external debugging device (not shown) having a debugging connector ( 200 in FIG. 2 ) being received in the earphone port 10 to communicate with the digital processor 30 .

When the earphone detection and response circuit 50 detects that the earphone port 10 receives the earphone plug 110 , the earphone detection and response circuit 50 outputs the second control signal to the controlled ports CP of the first switch K 1 and the second switch K 2 via the first output port 51 to turn off the first switch K 1 and the second switch K 2 . Thus, the connection between the digital processor 30 and the audio port 10 is cut off. At the same time, the earphone detection and response circuit 50 outputs the first control signal to the controlled ports CP of the third switch K 3 and the fourth switch K 4 via the second output port 52 to turn on the third switch K 3 and the fourth switch K 4 .

Therefore, the earphone left channel output pin Lout 1 and the earphone right channel output pin Rout 1 of the audio amplifier 20 are respectively connected to the left channel pin L and the right channel pin R of the earphone port 10 via the third switch K 3 and the fourth switch K 4 . The connection between the digital processor 30 and the audio port 10 is cut off now because the first switch K 1 and the switch K 2 are turned off.

When the earphone port 10 receives the earphone plug 110 , audio signals output by the earphone left channel output pin Lout 1 and the earphone right channel output pin Rout 1 of the audio amplifier 20 are transmitted to the earphone port 10 . Thus, the earphone plug 110 receives the audio signals as normal.

›DETAILED DESCRIPTION · 2 of 3

In the embodiment, the electronic device 100 further includes a loudspeaker 60 , and the audio amplifier 20 further includes a detection port Det, a loudspeaker left channel output pin Lout 2 , and a loudspeaker right channel output pin Rout 2 . The detection port Det is electrically connected to the first output port 51 of the earphone detection and response circuit 50 . The loudspeaker 60 includes audio input pins IN+, IN−. The loudspeaker left channel output pin Lout 2 and the loudspeaker right channel output pin Rout 2 of the audio amplifier 20 are respectively connected to the audio input pins IN+, IN− of the loudspeaker 60 .

In one embodiment, when the detection port Det receives the first control signal from the first output port 51 of the earphone detection and response circuit 50 , the audio amplifier 20 controls the loudspeaker left channel output pin Lout 2 and the loudspeaker right channel output pin Rout 2 to output the audio signals to the loudspeaker 60 . At this time, because the earphone plug 110 is not received in the earphone port 10 , the electronic device 100 can output the audio signals via the loudspeaker 60 .

When the detection port Det receives the second control signal from the second output port 52 of the earphone detection and response circuit 50 , the audio amplifier 20 also controls the earphone left channel output pin Lout 1 and the earphone right channel output pin Rout 1 to output the audio signals to the earphone port 10 . At this time, the electronic device 100 outputs the audio signals via the earphone 110 .

In the embodiment, the electronic device 100 also includes an earphone filtering circuit 70 . The earphone filtering circuit 70 is electrically connected between the earphone left channel output pin Lout 1 and the earphone right channel output pin Rout 1 of the audio amplifier 20 the third switch K 3 and the fourth switch K 4 , the earphone filtering circuit 70 filters the audio signals output by the earphone left channel output pin Lout 1 and the earphone right channel output pin Rout 1 .

In detail, as shown in FIG. 1 , the earphone detection and response circuit 50 includes a first positive-negative-positive (PNP) bipolar junction transistor (BJT) Q 1 and a second PNP BJT Q 2 . An emitter of the first PNP BJT Q 1 is grounded, a collector of the first PNP BJT Q 1 is electrically connected to a voltage port Vaudio via a resistor R 1 , and a base of the first PNP BJT Q 1 is electrically connected to the earphone detection pin EAR-DET of the earphone port 10 via a resistor R 2 . An emitter of the second PNP BJT Q 2 is grounded via a resistor R 3 , a collector of the second PNP BJT Q 2 is electrically connected to the voltage port Vaudio via a resistor R 4 , and a base of the second PNP BJT Q 2 is electrically connected to the earphone detection pin EAR-DET of the earphone port 10 via a resistor R 5 . The voltage port Vaudio obtains a high voltage, such as 5 volts (V), from a power source (not shown), such as a battery of the electronic device 100 . In this example, the high voltage is negative with respect to ground, and for this reason the transistors Q 1 and Q 2 are PNP transistors instead of NPN transistors.

The earphone detection pin EAR-DET of the earphone port 10 is also electrically connected to the voltage port Vaudio via a resistor R 6 . Therefore, when the earphone port 10 does not receive the earphone plug 110 , the earphone detection pin EAR-DET obtains the high voltage.

When the earphone plug 110 is received into the earphone port 10 , the earphone 110 electrically connects the earphone detection pin EAR-DET to the ground pin GND. Thus, the earphone detection pin EAR-DET obtains a low voltage.

A connection node between the collector of the first PNP BJT Q 1 and the resistor R 1 constitutes the first output port 51 of the earphone detection and response circuit 50 . A connection node between the emitter of the second PNP BJT Q 2 and the resistor R 3 constitutes the second output port 52 of the earphone detection and response circuit 50 .

In the embodiment, the first control signal output by the earphone detection and response circuit 50 is a high-voltage signal, and the second control signal output by the earphone detection and response circuit 50 is a low-voltage signal. The first switch K 1 , the second switch K 2 , the third switch K 3 , and the fourth switch K 4 are turned on when the corresponding controlled ports CP receive the high-voltage signal, and are turned off when the corresponding controlled ports CP receive the low-voltage signal. As described above, when the earphone plug 110 is not received into the earphone port 10 , the earphone detection pin EAR-DET obtains the high voltage. Thus, the bases of the first PNP BJT Q 1 and the second PNP BJT Q 2 obtain the high voltage from the earphone detection pin EAR-DET, and the first PNP BJT Q 1 and the second PNP BJT Q 2 are turned off accordingly.

When the earphone detection pin EAR-DET obtains the high voltage, the first output port 51 is electrically connected to the voltage port Vaudio and obtains the high voltage. Thus, the first output port 51 outputs the first control signal with the high voltage. The second output port 52 is grounded via the resistor R 3 and obtains the low voltage. Thus, the second output port 52 outputs the second control signal with the low voltage.

FIG. 2 shows an embodiment of a debugging connector 200 . The debugging connector 200 includes data pins L 0 , R 0 , a ground pin GND 1 , and a voltage pin VCC. When the debugging connector 200 is received in the earphone port 10 , the data pins L 0 , R 0 , the ground pin GND 1 , and the voltage pin VCC are connected to the left channel pin L, the right channel pin R, the ground pin GND, and the earphone detection pin EAR-DET of the earphone port 10 , respectively.

Therefore, when the data transmission pin TX and the data receive pin RX of the digital processor 30 are respectively connected to the left channel pin L and the right channel pin R of the earphone port 10 via the first switch K 1 and the second switch K 2 , and when the debugging connector 200 is received into the earphone port 10 , the data pins L 0 , R 0 of the debugging connector 200 are respectively connected the data transmission pin TX and the data receive pin RX via the left channel pin L and the right channel pin R of the earphone port 10 . Thus, a debugging device (not shown) with the debugging connector 200 can communicate with the digital processor 30 and debug the electronic device 100 . In one embodiment, the debugging device is a computer.

›DETAILED DESCRIPTION · 3 of 3

In another embodiment, the debugging connector 200 includes two conductive strips. The two conductive strips are used to respectively connect to the left channel pin L and the right channel pin R of the earphone port 10 , thereby connecting the debug device to the debugging connector 200 with the digital processor 30 .

As described above, the audio amplifier 20 controls the loudspeaker left channel output pin Lout 2 and the loudspeaker right channel output pin Rout 2 to output the audio signals to the loudspeaker 60 when the detection port Det receives the first control signal with the high voltage from the first output port 51 of the earphone detection and response circuit 50 . Thus, the electronic device 100 outputs the audio signals via the loudspeaker 60 .

When the earphone 110 is received into the earphone port 10 , the earphone detection pin EAR-DET is grounded via the earphone 10 and obtains the low voltage. At this time, the bases of the first PNP BJT Q 1 and the second PNP BJT Q 2 obtain the low voltage from the earphone detection pin EAR-DET. Thus the first PNP BJT Q 1 and the second PNP BJT Q 2 are turned on accordingly.

Therefore, the first output port 51 is grounded via the first PNP BJT Q 1 . Thus, the first output port 51 outputs the second control signal with the low voltage. The second output port 52 is electrically connected to the voltage port Vaudio via the resistor R 4 and the second PNP BJT Q 2 which is turned on and at the high voltage. Thus, the second output port 52 outputs the first control signal with the high voltage.

As described above, the first switch K 1 and the second switch K 2 are turned off when the corresponding controlled ports CP receive the second control signal with the low voltage, and the third switch K 3 and the fourth switch K 4 are turned on when the corresponding controlled ports CP receive the first control signal with the high voltage. Consequently, the earphone left channel output pin Lout 1 and the earphone right channel output pin Rout 1 of the audio amplifier 20 are respectively connected to the left channel pin L and the right channel pin R via the third switch K 3 and the fourth switch K 4 which are turned on.

At the same time, the audio amplifier 20 controls the earphone left channel output pin Lout 1 and the earphone right channel output pin Rout 1 to output the audio signals to the earphone port 10 when the detection port Det receives the second control signal with the low voltage from the first output port 51 of the earphone detection and response circuit 50 . The audio signals output by the earphone left channel output pin Lout 1 and the earphone right channel output pin Rout 1 are transmitted to the left channel pin L and the right channel pin R of the earphone port 10 . Thus, the electronic device 100 outputs the audio signals via the earphone 110 .

In another embodiment, the first PNP BJT Q 1 and the second PNP BJT Q 2 can be replaced by P-channel metal-oxide semiconductor field-effect transistors.

The electronic device 100 can be any suitable electronic device having the earphone port 10 , such as a mobile phone, a digital photo frame, an electronic reader, or a tablet computer.

It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the disclosure or sacrificing all of its material advantages, the examples hereinbefore described merely being exemplary embodiments of the present disclosure.

Claims as granted

11 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

3 codes
IPC · International Patent Classification
Section G — Physics
  • G06F13/00
  • G06F11/22
  • G06F11/07

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJan 2014Apr 2014Jul 2014Oct 2014Jan 2015Apr 2015Jul 2015Oct 2015Jan 2016USPTOApplicantNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
1.7 y
629 days filing → grant
Office actions
0
none on record
Examiner
Nadeem Iqbal
art unit 2114 · TC 2100
Citations: 3 back · 1 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20142016201820202022202420262028203020322034Owner 3Owner 4
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock