Headsets
AssigneeFreescale Semiconductor, Inc.
InventorJerome Enjalbert
Life of this patent
Estimating the term…
Abstract
A detector for detecting the connection of an accessory including a microphone and/or the state of a switch associated with the microphone for a mobile device, wherein the detector comprises a first flag generator for time multiplexing the detection of a signal above a predetermined threshold for each of two comparators, such that for one time period one comparator output is detected and for a second time period the second comparator output is detected to thereby form a first flag; a second flag generator for determining the connection of microphone to thereby generate a second flag; a lookup table for determining the connection of the accessory and/or the state of the microphone switch from the first and second flags.
Claims20
A headset detector comprises:
- A first flag generator configured to detect a connection of an accessory and to generate a first flag in response to the connection of the accessory, the accessory including a microphone and a switch connected to the microphone;
- a second flag generator including a low current source and a high current source, wherein the low current source is enabled during both a first time period and a second time period, the second flag generator configured to periodically detect a signal above a predetermined threshold for each of a first comparator and a second comparator, to enable the high current source only during the second time period, to set, in response to the first flag being generated during the first time period, a state of a second flag based on an output state of the first comparator, wherein the output of the first comparator is based on a current from the low current source during the first time period, and to set, in response to the first flag being generated during the second time period, the state of the second flag based on an output state of the second comparator, wherein the output of the second comparator is based on a current from the high current source during the second time period.
A method of headset detection comprising the steps of:
- generating a current from a low current source during both a first time period and a second time period;
- generating a current from a high current source only during the second time period;
- determining a connection of an accessory including a microphone and a switch connected to the microphone;
- generating a first flag in response to the connection;
- determining a second flag by periodically detecting a signal above a predetermined threshold for each of a first comparator and a second comparator;
- setting, in response to the first flag being generated during the first time period, a state of the second flag based on an output state of the first comparator, wherein the output of the first comparator is based on a current from the low current source during the first time period;
- setting, in response to the first flag being generated during the second time period, the state of the second flag based on an output state of the second comparator, wherein the output of the second comparator is based on a current from the high current source during the second time period;
- and determining, by a lookup table, during the first and second time periods, at least one of a group consisting of the connection of the microphone and a state of the switch associated with the microphone from the states of the first and second flags.
A non-transitory computer program comprising instructions for carrying out operations of headset detection, the operations comprising:
- generating a current from a low current source during both a first time period and a second time period;
- generating a current from a high current source only during the second time period;
- determining a connection of an accessory including a microphone and a switch connected to the microphone;
- generating a first flag in response to the connection;
- determining a second flag by periodically detecting a signal above a predetermined threshold for each of a first comparator and a second comparator;
- setting, in response to the first flag being generated during the first time period, a state of the second flag based on an output state of the first comparator, wherein the output of the first comparator is based on a current from the low current source during the first time period;
- setting, in response to the first flag being generated during the second time period, the state of the second flag based on an output state of the second comparator, wherein the output of the second comparator is based on a current from the high current source during the second time period;
- and determining, by a lookup table, during the first and second time periods, the at least one of a group consisting of the connection of the microphone and a state of the switch associated with the microphone from the states of the first and second flags.
Dependencies are inferred from the claim text.