Claims
- 1. A programmable analog input/output (I/O) integrated circuit (IC) system comprises:
a plurality of IC pins: an analog I/O circuit operably coupled to the plurality of pins, wherein the analog I/O circuit determines input/output status of each of the plurality of IC pins; control module operably coupled to the analog I/0 circuit to provide an I/O control signal to the analog I/O circuit based on the I/O status of each of the plurality of IC pins and to provide a switching control signal for configuring the programmable analog I/O IC system; and switching module operably coupled to the analog I/O circuit based on the switching control signal.
- 2. The programmable analog I/O IC system of claim 1, wherein the analog I/O circuit further comprises:
a plurality of I/O modules operably coupled to and corresponding to the plurality of IC pins, wherein an I/O module of the plurality of I/O modules includes at one of:
an input buffer operably coupled to a corresponding one of the plurality of IC pins, wherein, when the I/O control signal is in a first state, the input buffer is active; a tri-state output buffer operably coupled to the corresponding one of the plurality of IC pins, wherein, when the I/O control signal is in a second state, the tri-state output buffer is active; and sensing module operably coupled to the corresponding one of the plurality of IC pins, wherein the sensing module senses the I/O status of the corresponding one of the plurality of IC pins.
- 3. The programmable analog I/O IC system of claim 2, wherein the sensing module further comprises:
load impedance module operably coupled to determine impedance of a load coupled to the corresponding one of the plurality of IC pins; and determination module operably coupled to determine a type of load coupled to the corresponding one of the plurality of IC pins based on the impedance of the load.
- 4. The programmable analog I/O IC system of claim 3, wherein the control module further functions to:
interpret the type of load to generate the I/O control signal and the switching control signal.
- 5. The programmable analog I/O IC system of claim 4, wherein the type of load further comprises at least one of:
a microphone; a headphone, speakers; line input jack; and line output jack.
- 6. The programmable analog I/O IC system of claim 3, wherein the load impedance module further comprises:
load current source operably coupled to source a current to the load to produce a load voltage; reference current source operably coupled to source a controlled current to a reference impedance to produce a reference voltage; comparator operably coupled to compare the reference voltage to the load voltage; and control logic operably coupled to interpret an output of the comparator, wherein, when the output of the comparator is in a first state, the control logic adjusts the reference impedance to produce a second reference voltage, and when the output of the comparator is in a second state, the control logic enables storing the impedance of the load based on the reference impedance.
- 7. The programmable analog I/O IC system of claim 3, wherein the load impedance module further comprises:
enable circuit operably coupled to enable the at least one tri-state output buffer to provide a current to the load to produce a load voltage; reference current source operably coupled to source a controlled current to a reference impedance to produce a reference voltage; comparator operably coupled to compare the reference voltage to the load voltage; and control logic operably coupled to interpret an output of the comparator, wherein, when the output of the comparator is in a first state, the control logic adjusts the reference impedance to produce a second reference voltage, and when the output of the comparator is in a second state, the control logic enables storing the impedance of the load based on the reference impedance.
- 8. The programmable analog I/O IC system of claim 3, wherein the load impedance module further comprises:
current source operably coupled to source a current to the load to produce a load voltage; and voltage to impedance circuit operably coupled to interpret the load voltage to produce the impedance of the load.
- 9. The programmable analog I/O IC system of claim 1, wherein the switching module further comprises:
a plurality of multiplexers operably coupled to the analog I/O module, wherein the plurality of multiplexers are configured based on the switching control signal.
- 10. The programmable analog I/O IC system of claim 1, wherein the analog I/O circuit further comprises:
a frequency variable source such that the analog I/O circuit determines a frequency dependent impedance of a load as the input/output status of each of the plurality of IC pins.
- 11. A programmable analog input/output (I/O) pin comprises:
an integrated circuit (IC) pin; an analog I/O circuit operably coupled to the pin, wherein the analog I/O circuit determines input/output status of the pin; control module operably coupled to generate an I/O control signal and a switching control signal based on the I/O status of each of the plurality of IC pin, wherein the control module provides the I/O control signal to the analog I/O circuit; and switching module operably coupled to the analog I/O circuit based on the switching control signal.
- 12. The programmable analog I/O pin of claim 11, wherein the analog I/O circuit further comprises at least one of:
an input buffer operably coupled to the pin, wherein, when the I/O control signal is in a first state, the input buffer is active; a tri-state output buffer operably coupled to the pin, wherein, when the I/O control signal is in a second state, the tri-state output buffer is active; and sensing module operably coupled to the pin, wherein the sensing module senses the I/O status of the pin.
- 13. The programmable analog I/O pin of claim 12, wherein the sensing module further comprises:
load impedance module operably coupled to determine impedance of a load coupled to the pin; and determination module operably coupled to determine a type of load coupled to the pin based on the impedance of the load.
- 14. The programmable analog I/O pin of claim 13, wherein the control module further functions to:
interpret the type of load to generate the I/O control signal and the switching control signal.
- 15. The programmable analog I/O pin of claim 13, wherein the load impedance module further comprises:
load current source operably coupled to source a current to the load to produce a load voltage; reference current source operably coupled to source a controlled current to a reference impedance to produce a reference voltage; comparator operably coupled to compare the reference voltage to the load voltage; and control logic operably coupled to interpret an output of the comparator, wherein, when the output of the comparator is in a first state, the control logic adjusts the reference impedance to produce a second reference voltage, and when the output of the comparator is in a second state, the control logic enables storing the impedance of the load based on the reference impedance.
- 16. The programmable analog I/O pin of claim 13, wherein the load impedance module further comprises:
enable circuit operably coupled to enable the at least one tri-state output buffer to provide a current to the load to produce a load voltage; reference current source operably coupled to source a controlled current to a reference impedance to produce a reference voltage; comparator operably coupled to compare the reference voltage to the load voltage; and control logic operably coupled to interpret an output of the comparator, wherein, when the output of the comparator is in a first state, the control logic adjusts the reference impedance to produce a second reference voltage, and when the output of the comparator is in a second state, the control logic enables storing the impedance of the load based on the reference impedance.
- 17. The programmable analog I/O pin of claim 13, wherein the load impedance module further comprises:
current source operably coupled to source a current to the load to produce a load voltage; and voltage to impedance circuit operably coupled to interpret the load voltage to produce the impedance of the load.
- 18. The programmable analog I/O pin of claim 11, wherein the switching module further comprises:
a plurality of multiplexers operably coupled to the analog I/O module, wherein the plurality of multiplexers are configured based on the switching control signal.
- 19. The programmable analog I/O pin of claim 11, wherein the analog I/O circuit further comprises:
a frequency variable source such that the analog I/O circuit determines a frequency dependent impedance of a load as the input/output status of each of the plurality of IC pins.
- 20. An audio codec integrated circuit (IC) comprises:
digital interface operably coupled to transceive digitized audio data with a host device; at least one digital to analog converter (DAC) operably coupled to convert outbound digital signals received via the digital interface into outbound analog signals; at least one analog to digital converter (ADC) operably coupled to convert inbound analog signals into inbound digital signals, wherein the at least one ADC provides the inbound digital signals to the digital interface; microphone input circuit operably coupled to process a microphones input signal; analog mixing module operably coupled to mix up to a plurality of analog signals to produce a mixed analog signal; and programmable analog input/output (I/O) module operably coupled to the microphone input circuit and to the analog mixing module, wherein the programmable analog I/O module includes:
a plurality of IC pins: an analog I/O circuit operably coupled to the plurality of pins, wherein the analog I/O circuit determines input/output status of each of the plurality of IC pins; control module operably coupled to the analog I/O circuit to provide an I/O control signal to the analog I/O circuit based on the I/O status of each of the plurality of IC pins and to provide a switching control signal for configuring the programmable analog I/O IC system; and switching module operably coupled to the analog I/O circuit based on the switching control signal.
- 21. The audio codec IC of claim 20, wherein the analog I/O circuit further comprises:
a plurality of I/O modules operably coupled to and corresponding to the plurality of IC pins, wherein an I/O module of the plurality of I/O modules includes at least one of:
an input buffer operably coupled to a corresponding one of the plurality of IC pins, wherein, when the I/O control signal is in a first state, the input buffer is active; a tri-state output buffer operably coupled to the corresponding one of the plurality of IC pins, wherein, when the I/O control signal is in a second state, the tri-state output buffer is active; and sensing module operably coupled to the corresponding one of the plurality of IC pins, wherein the sensing module senses the I/O status of the corresponding one of the plurality of IC pins.
- 22. The audio codec IC of claim 21, wherein the sensing module further comprises:
load impedance module operably coupled to determine impedance of a load coupled to the corresponding one of the plurality of IC pins; and determination module operably coupled to determine a type of load coupled to the corresponding one of the plurality of IC pins based on the impedance of the load.
- 23. The audio codec IC of claim 22, wherein the control module further functions to:
interpret the type of load to generate the I/O control signal and the switching control signal.
- 24. The audio codec IC of claim 23, wherein the type of load further comprises at least one of:
a microphone; a headphone, speakers; line input jack; and line output jack.
- 25. The audio codec IC of claim 22, wherein the load impedance module further comprises:
load current source operably coupled to source a current to the load to produce a load voltage; reference current source operably coupled to source a controlled current to a reference impedance to produce a reference voltage; comparator operably coupled to compare the reference voltage to the load voltage; and control logic operably coupled to interpret an output of the comparator, wherein, when the output of the comparator is in a first state, the control logic adjusts the reference impedance to produce a second reference voltage, and when the output of the comparator is in a second state, the control logic enables storing the impedance of the load based on the reference impedance.
- 26. The audio codec IC of claim 22, wherein the load impedance module further comprises:
enable circuit operably coupled to enable the at least one tri-state output buffer to provide a current to the load to produce a load voltage; reference current source operably coupled to source a controlled current to a reference impedance to produce a reference voltage; comparator operably coupled to compare the reference voltage to the load voltage; and control logic operably coupled to interpret an output of the comparator, wherein, when the output of the comparator is in a first state, the control logic adjusts the reference impedance to produce a second reference voltage, and when the output of the comparator is in a second state, the control logic enables storing the impedance of the load based on the reference impedance.
- 27. The audio codec IC of claim 22, wherein the load impedance module further comprises:
current source operably coupled to source a current to the load to produce a load voltage; and voltage to impedance circuit operably coupled to interpret the load voltage to produce the impedance of the load.
- 28. The audio codec IC of claim 20, wherein the switching module further comprises:
a plurality of multiplexers operably coupled to the analog I/O module, wherein the plurality of multiplexers are configured based on the switching control signal.
- 29. The audio codec IC of claim 20, wherein the analog I/O circuit further comprises:
a frequency variable source such that the analog I/O circuit determines a frequency dependent impedance of a load as the input/output status of each of the plurality of IC pins.
- 30. A method for programming an analog input/output (I/O) pin, the method comprises:
determining input/output status of the analog I/O pin; establishing the analog I/O pin as an analog input pin when the input/output status is in a first state; establishing the analog I/O pin as an analog output pin when the input/output status is in a second state; coupling the analog I/O pin to an analog input of a functional circuit when the input/output status is in the first state; and coupling the analog I/O pin to an analog output of a functional circuit when the input/output status is in the second state.
- 31. The method of claim 30, wherein the determining the input/output status further comprises:
determining impedance of a load coupled to the analog I/O pin; and determining a type of load coupled to the analog I/O pin based on the impedance of the load.
- 32. The method of claim 31, wherein the type of load further comprises at least one of:
a microphone; a headphone, speakers; line input jack; and line output jack.
- 33. The method of claim 32, wherein the determining the impedance of the load further comprises:
sourcing a current to the load to produce a load voltage; sourcing a controlled current to a reference impedance to produce a reference voltage; comparing the reference voltage to the load voltage; interpreting the comparing to, when the comparing is in a first state, adjusting the reference impedance to produce a second reference voltage; and storing the impedance of the load based on the reference impedance when the comparing is in a second state.
- 34. The method of claim 32, wherein the determining the impedance of the load further comprises:
enabling a tri-state output buffer to provide a current to the load to produce a load voltage; sourcing a controlled current to a reference impedance to produce a reference voltage; comparing the reference voltage to the load voltage; interpreting the comparing to, when the comparing is in a first state, adjusting the reference impedance to produce a second reference voltage; and storing the impedance of the load based on the reference impedance when the comparing is in a second state.
- 35. The method of claim 32, wherein the determining the impedance of the load further comprises:
sourcing a current to the load to produce a load voltage; and interpreting the load voltage to produce the impedance of the load.
- 36. The method of claim 30, wherein the determining input/output status of the analog I/O pin further comprises:
determining a frequency dependent impedance of a load as the input/output status of each of the plurality of IC pins.
- 37. An apparatus for programming an analog input/output (I/O) pin, the apparatus comprises:
processing module; and memory operably coupled to the processing module, wherein the memory includes operational instructions that cause the processing module to:
determine input/output status of the analog I/O pin; establish the analog I/O pin as an analog input pin when the input/output status is in a first state; establish the analog I/O pin as an analog output pin when the input/output status is in a second state; couple the analog I/O pin to an analog input of a functional circuit when the input/output status is in the first state; and couple the analog I/O pin to an analog output of a functional circuit when the input/output status is in the second state.
- 38. The apparatus of claim 37, wherein the memory further comprises operational instructions that cause the processing module to determine the input/output status by:
determining impedance of a load coupled to the analog I/O pin; and determining a type of load coupled to the analog I/O pin based on the impedance of the load.
- 39. The apparatus of claim 37, wherein the type of load further comprises at least one of:
a microphone; a headphone, speakers; line input jack; and line output jack.
- 40. The apparatus of claim 38, wherein the memory further comprises operational instructions that cause the processing module to determine the impedance of the load by:
sourcing a current to the load to produce a load voltage; sourcing a controlled current to a reference impedance to produce a reference voltage; comparing the reference voltage to the load voltage; interpreting the comparing to, when the comparing is in a first state, adjusting the reference impedance to produce a second reference voltage; and storing the impedance of the load based on the reference impedance when the comparing is in a second state.
- 41. The apparatus of claim 38, wherein the memory further comprises operational instructions that cause the processing module to determine the impedance of the load by:
enabling a tri-state output buffer to provide a current to the load to produce a load voltage; sourcing a controlled current to a reference impedance to produce a reference voltage; comparing the reference voltage to the load voltage; interpreting the comparing to, when the comparing is in a first state, adjusting the reference impedance to produce a second reference voltage; and storing the impedance of the load based on the reference impedance when the comparing is in a second state.
- 42. The apparatus of claim 38, wherein the memory further comprises operational instructions that cause the processing module to determine the impedance of the load by:
sourcing a current to the load to produce a load voltage; and interpreting the load voltage to produce the impedance of the load.
- 43. The apparatus of claim 37, wherein the memory further comprises operational instructions that cause the processing module to determine the input/output status by:
determining a frequency dependent impedance of a load as the input/output status of each of the plurality of IC pins.
Parent Case Info
[0001] This patent application is claiming priority under 35 USC § 119(e) to provisional patent application entitled PROGRAMMABLE ANALOG INPUT/OUTPUT INTEGRATED CIRCUIT SYSTEM, having a provisional patent application No. of 60/434,908, and a provisional filing date of Dec. 19, 2002.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60434908 |
Dec 2002 |
US |