1. Field of the Invention
The present invention is related to a pin sharing method and device and related functional device, and more particularly, to a pin sharing method and device and related functional device in which multiple functions share a pin through dividing a voltage range of the pin.
2. Description of the Prior Art
With advances in integrated circuit (IC) manufacturing technology, an IC chip includes more functions. For a digital IC chip, the more functions included, the greater the number of pins required. In general, a pin is utilized for receiving a 1-bit digital signal. That is, the chip merely determines whether a logic “1” or a logic “0” is received by the pin.
However, when the chip is integrated with peripheral circuits to function as an application system, and particularly for a cheap application, hardware implementation space of the chip is limited due to cost concerns, and therefore the chip cannot be packaged with a high number of pins corresponding to chip functions.
Thus, implementing more chip functions with a limited number of pins has been a main focus of the industry.
It is therefore a primary objective of the claimed invention to provide a pin sharing method, a pin sharing device and a functional device.
The present invention discloses a pin sharing method for controlling a plurality of functions of a chip via a versatile pin of the chip. The pin sharing method comprises dividing a voltage range of the versatile pin into a plurality of sections according to the plurality of functions, and assigning the plurality of sections to correspond to a plurality of modes of the plurality of functions.
The present invention further discloses a pin sharing device for controlling a plurality of functions of a chip via a versatile pin of the chip. The pin sharing device comprises an input switch for generating a control voltage according to a system control signal, and a division module comprising an input end coupled to the input switch, an output end coupled to the versatile pin, a first power end and a second power end for dividing the control voltage, an upper-limit voltage received by the first power end and a lower-limit voltage received by the second power end to generate an input voltage sent to the versatile pin, wherein a voltage range of the versatile pin is divided into a plurality of sections corresponding to a plurality of modes of the plurality of functions.
The present invention further discloses a functional device for implementing a plurality of functions. The functional device comprises a pin sharing device comprising an input switch for generating a control voltage according to a system control signal, and a division module comprising an input end coupled to the input switch, an output end, a first power end and a second power end for dividing the control voltage, an upper-limit voltage received by the first power end and a lower-limit voltage received by the second power end to generate an input voltage, a versatile pin coupled to the output end for receiving the input voltage, and a chip coupled to the versatile pin for implementing the plurality of the functions according to the input voltage, wherein a voltage range of the versatile pin is divided into a plurality of sections corresponding to a plurality of modes of the plurality of functions.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Please refer to
Step 100: Start.
Step 102: Divide a voltage range of the versatile pin into sections according to number and modes of the functions.
Step 102: Assign the sections to respectively correspond to the modes of the functions.
Step 104: End.
In short, to implement the functions with limited pins, the versatile pin is utilized for simultaneously controlling plural functions. To do so, the voltage range of the versatile pin is divided into the sections, and the chip interprets an input signal received by the versatile pin in multiple ways based on default section definitions. That is, a voltage of the versatile pin carries operation mode information of plural functions.
For example, please refer to
More specifically, assume the chip 220 is an amplifier chip, and the versatile pin 210 is utilized for controlling a power switch function and an auto-gain control (AGC) function. Please refer to
In detail, please refer to
When the chip 220 needs to operate in the section SEC2 or the section SEC3, the input switch 292 floats the input end IN to give:
If the AGC function is not required, the circuit designer can configure R2=R3 such that the input voltage VIN=(1/2)VDD. In such a configuration, the chip 220 operates in the section SEC2. If the AGC function is required at startup, the circuit designer can configure R2>R3 to give
which is greater than the default boundary B2, such that the chip 220 operates in the section SEC3.
In the prior art, the chip merely determines whether a logic “1” or a logic “0” is received by the pin, and accordingly controls a corresponding function. However, a cheap application allows only a limited number of pins, which cannot simultaneously control all chip functions. In comparison, through dividing the voltage range of the versatile pin into sections according to the present invention, different sections may correspond to different modes of multiple functions. Thus, an external control circuit can control multiple chip functions via the versatile pin to reduce the number of employed pins.
Through dividing the voltage range of the versatile pin into sections, the versatile pin controls multiple chip functions, so as to reduce the number of employed pins.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention.
Number | Date | Country | Kind |
---|---|---|---|
099137292 | Oct 2010 | TW | national |