CN106209066B - Method and chip for multiplexing chip pins - Google Patents
Method and chip for multiplexing chip pins Download PDFInfo
- Publication number
- CN106209066B CN106209066B CN201610682792.4A CN201610682792A CN106209066B CN 106209066 B CN106209066 B CN 106209066B CN 201610682792 A CN201610682792 A CN 201610682792A CN 106209066 B CN106209066 B CN 106209066B
- Authority
- CN
- China
- Prior art keywords
- pin
- chip
- voltage
- switch
- fixed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K19/00—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
- H03K19/0175—Coupling arrangements; Interface arrangements
- H03K19/017509—Interface arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Electronic Switches (AREA)
- Semiconductor Integrated Circuits (AREA)
Abstract
本发明公开了一种芯片引脚复用的方法及芯片,其使芯片的任一引脚通过一片外电阻接地,在芯片启动时,控制该引脚电压为固定电压或设置固定电流流向该引脚,通过采集流经该引脚的电流或该引脚电压并对其进行转换,进而对转换得到的输出信号进行锁存;使得在不同片外电阻下,输出信号具有多路或多种形式,从而基于输出信号设置芯片的多种工作状态。本发明在不增加芯片引脚的情况下,利用现有的驱动引脚通过外围电阻设置芯片的工作状态,使芯片的使用更加方便灵活,并且降低了生产和使用成本。
The invention discloses a method for multiplexing chip pins and a chip, which allows any pin of the chip to be grounded through an external resistor, and controls the voltage of the pin to a fixed voltage or sets a fixed current to flow to the lead when the chip is started. Pin, by collecting the current flowing through the pin or the pin voltage and converting it, and then latching the converted output signal; so that the output signal has multiple or multiple forms under different off-chip resistances , so as to set various working states of the chip based on the output signal. The present invention uses the existing drive pins to set the working state of the chip through peripheral resistors without increasing the pins of the chip, so that the use of the chip is more convenient and flexible, and the cost of production and use is reduced.
Description
技术领域technical field
本发明属于电子芯片设计技术领域,具体涉及一种芯片引脚复用的方法及芯片。The invention belongs to the technical field of electronic chip design, and in particular relates to a chip pin multiplexing method and chip.
背景技术Background technique
目前,集成电路芯片的测试通常在投片出来之后进行。由于芯片的高集成性、高复杂性,不仅需要测试芯片的输出信号,还需要测试个别内部功能信号,所以芯片的可测性很重要。在传统的测试中,通常在芯片内部增加测试PAD或者增加芯片的引脚,用于检测内部功能信号的正确性。At present, the testing of integrated circuit chips is usually carried out after the chips are put out. Due to the high integration and high complexity of the chip, not only the output signal of the chip needs to be tested, but also individual internal function signals need to be tested, so the testability of the chip is very important. In a traditional test, a test PAD or a pin of the chip is usually added inside the chip to check the correctness of the internal function signal.
对于同一类型的芯片,经常需要调节芯片的参数,设置芯片的不同工作状态。比如,有的芯片的参考电压为600mV,同一系列的另一种芯片的参考电压为1.2V,而其他方面的性能参数都是一样的。一般需要生产两种不同的芯片用于两种不同的场合。为了方便使用,降低成本,有些芯片额外增加一个设置引脚,通过设置引脚,可以设置芯片工作在不同的状态。生产不同的芯片,生产成本必然提高;但芯片额外增加一个设置引脚,芯片的面积会增加较多,并且封装成本增加,系统成本也会随之增加。For the same type of chip, it is often necessary to adjust the parameters of the chip and set different working states of the chip. For example, some chips have a reference voltage of 600mV, and another chip of the same series has a reference voltage of 1.2V, while other performance parameters are the same. Generally, two different chips need to be produced for two different occasions. In order to facilitate the use and reduce the cost, some chips add an additional setting pin. By setting the pin, the chip can be set to work in different states. Production of different chips will inevitably increase the production cost; however, if an additional setting pin is added to the chip, the area of the chip will increase a lot, and the packaging cost will increase, and the system cost will also increase accordingly.
随着集成电路的发展,不仅要求集成电路芯片能够具有可测性,还要求测试方案尽量节省芯片面积,以节约芯片成本,从而提高产品利润,同时还要求能为投片出来的芯片进行调试及二次投片提供方便;故这成为本申请人致力于研究的方向。With the development of integrated circuits, not only IC chips are required to be measurable, but also the test plan is required to save the chip area as much as possible, so as to save chip costs, thereby increasing product profits. The secondary casting provides convenience; so this becomes the direction that the applicant is committed to researching.
发明内容Contents of the invention
基于上述,本发明提供了一种芯片引脚复用的方法及芯片,在不增加芯片引脚的情况下,利用现有的引脚通过外围电阻设置芯片的工作状态,使芯片的使用更加方便灵活,并且降低了生产和使用成本。Based on the above, the present invention provides a chip pin multiplexing method and chip, without increasing the number of chip pins, using the existing pins to set the working state of the chip through peripheral resistors, so that the use of the chip is more convenient Flexible and reduces production and usage costs.
一种芯片引脚复用的方法,首先使芯片的任一引脚通过一片外电阻接地,在芯片启动时,控制该引脚电压为固定电压或设置固定电流流向该引脚,通过采集流经该引脚的电流或该引脚电压并对其进行转换,进而对转换得到的输出信号进行锁存;使得在不同片外电阻下,根据所述的输出信号设置芯片的工作状态。A chip pin multiplexing method, first ground any pin of the chip through an external resistor, when the chip is started, control the voltage of the pin to a fixed voltage or set a fixed current to flow to the pin, through the collection of The current of the pin or the voltage of the pin is converted, and then the converted output signal is latched; so that under different off-chip resistances, the working state of the chip is set according to the output signal.
进一步地,当控制引脚电压为固定电压情况下,则采集流经该引脚的电流并对其进行转换;当设置固定电流流向引脚情况下,则采集该引脚电压并对其进行转换。Further, when the voltage of the control pin is a fixed voltage, the current flowing through the pin is collected and converted; when the fixed current is set to flow to the pin, the voltage of the pin is collected and converted .
进一步地,当锁存完成后,则取消该引脚的固定电压控制或固定电流设置,以免对该引脚上的外接器件造成影响。Further, after the latching is completed, the fixed voltage control or fixed current setting of the pin is cancelled, so as not to affect the external device on the pin.
一种引脚复用的芯片包括引脚复用电路;对于该芯片的任一引脚,所述的引脚复用电路与该引脚以及一片外电阻共连,片外电阻的另一端则接地;所述的引脚复用电路包括一开关、引脚控制模块、信号采集转换模块以及锁存模块;其中:A pin multiplexing chip includes a pin multiplexing circuit; for any pin of the chip, the pin multiplexing circuit is connected with the pin and an external resistor, and the other end of the external resistor is Grounding; the pin multiplexing circuit includes a switch, a pin control module, a signal acquisition conversion module and a latch module; wherein:
所述的引脚控制模块通过开关与该引脚连接,用于控制该引脚电压为固定电压或设置固定电流流向该引脚;The pin control module is connected to the pin through a switch, and is used to control the voltage of the pin to be a fixed voltage or set a fixed current to flow to the pin;
所述的信号采集转换模块用于采集流经该引脚的电流或该引脚电压并对其进行转换,从而产生多路或多种形式的输出信号;The signal collection and conversion module is used to collect and convert the current flowing through the pin or the voltage of the pin, so as to generate multiple or multiple forms of output signals;
所述的锁存模块用于对所述的输出信号进行锁存;The latch module is used to latch the output signal;
所述的开关在芯片启动时导通,在锁存模块完成锁存后断开。The switch is turned on when the chip is started, and turned off after the latch module completes latching.
进一步地,当引脚控制模块用于控制引脚电压为固定电压情况下,信号采集转换模块则用于采集流经该引脚的电流并对其进行转换;当引脚控制模块用于设置固定电流流向引脚情况下,信号采集转换模块则用于采集该引脚电压并对其进行转换。Further, when the pin control module is used to control the pin voltage to be a fixed voltage, the signal acquisition conversion module is used to collect the current flowing through the pin and convert it; when the pin control module is used to set a fixed When the current flows to the pin, the signal acquisition and conversion module is used to acquire the voltage of the pin and convert it.
进一步地,当引脚控制模块用于控制引脚电压为固定电压情况下,则其采用一运算放大器,该运算放大器的同相输入端接所述的固定电压,运算放大器的反相输入端和输出端共连并与开关的一端相连,开关的另一端与该引脚相连。Further, when the pin control module is used to control the pin voltage to be a fixed voltage, it uses an operational amplifier, the non-inverting input terminal of the operational amplifier is connected to the fixed voltage, and the inverting input terminal of the operational amplifier and the output The terminals are connected together and connected to one end of the switch, and the other end of the switch is connected to this pin.
进一步地,当引脚控制模块用于设置固定电流流向引脚情况下,则其采用一电流源,该电流源所输出的电流大小等于所述的固定电流,其输入端接电源电压,输出端与开关的一端相连,开关的另一端与该引脚相连。Further, when the pin control module is used to set a fixed current to flow to the pin, it adopts a current source, the current output by the current source is equal to the fixed current, the input terminal is connected to the power supply voltage, and the output terminal Connect to one end of the switch, and connect the other end of the switch to this pin.
进一步地,所述的信号采集转换模块采用A/D转换电路,该A/D转换电路具有N位转换功能,其输入端采集流经引脚的电流或引脚电压,输出端产生2N路的输出信号,N为大于0的自然数。Further, the described signal acquisition conversion module adopts an A/D conversion circuit, and the A/D conversion circuit has an N-bit conversion function, and its input terminal collects the current or the pin voltage flowing through the pin, and the output terminal generates 2 N channels The output signal of , N is a natural number greater than 0.
进一步地,当信号采集转换模块用于采集流经引脚的电流并对其进行转换情况下,则其由一固定电流源和一受控电流源组成,受控电流源所输出的电流大小受控于流经该引脚的电流,其输入端接电源电压,输出端与固定电流源的输入端相连并产生所述的输出信号;固定电流源所输出的电流大小固定,其输出端接地。Furthermore, when the signal acquisition and conversion module is used to acquire and convert the current flowing through the pin, it consists of a fixed current source and a controlled current source, and the output current of the controlled current source is controlled by Controlling the current flowing through the pin, its input terminal is connected to the power supply voltage, and its output terminal is connected to the input terminal of the fixed current source to generate the output signal; the output current of the fixed current source is fixed, and its output terminal is grounded.
进一步地,所述的锁存模块采用D触发器或多路锁存器。Further, the latch module adopts a D flip-flop or a multi-way latch.
所述的引脚为开关管驱动引脚。The above-mentioned pins are switching tube drive pins.
一种开关电路,包括开关管及其控制芯片,该控制芯片采用上述引脚复用的芯片。A switch circuit includes a switch tube and a control chip thereof, and the control chip adopts the above-mentioned pin multiplexing chip.
基于上述技术方案,本发明在不增加芯片引脚的情况下,利用现有的驱动引脚通过外围电阻设置芯片的工作状态,使芯片的使用更加方便灵活,并且降低了生产和使用成本。Based on the above technical solution, the present invention uses the existing drive pins to set the working state of the chip through peripheral resistors without increasing the number of chip pins, making the use of the chip more convenient and flexible, and reducing production and use costs.
附图说明Description of drawings
图1为本发明引脚复用芯片的第一种实施方式结构示意图。FIG. 1 is a schematic structural diagram of a first embodiment of a pin multiplexing chip of the present invention.
图2为本发明引脚复用芯片的第二种实施方式结构示意图。FIG. 2 is a schematic structural diagram of a second embodiment of the pin multiplexing chip of the present invention.
图3为本发明引脚复用芯片的第三种实施方式结构示意图。FIG. 3 is a schematic structural diagram of a third embodiment of the pin multiplexing chip of the present invention.
具体实施方式Detailed ways
为了更为具体地描述本发明,下面结合附图及具体实施方式对本发明的技术方案进行详细说明。In order to describe the present invention more specifically, the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
实施例1Example 1
如图1所示,本实施方式引脚复用的芯片包括引脚复用电路和控制驱动电路U00;引脚复用电路和控制驱动电路U00与该芯片的驱动引脚GATE以及一片外电阻R10共连,片外电阻R10的另一端则接地;控制驱动电路U00用于通过驱动引脚GATE为片外的开关管M00提供开关控制信号,驱动引脚GATE还与开关管M00的栅极以及一片外电容C00相连,其中,C00可以是外加电容,也可以是开关管M00的寄生电容;开关管M00的源极以及片外电容C00的另一端均接地。As shown in Figure 1, the pin multiplexing chip of this embodiment includes a pin multiplexing circuit and a control driving circuit U00; The other end of the off-chip resistor R10 is grounded; the control drive circuit U00 is used to provide switch control signals for the off-chip switch tube M00 through the drive pin GATE, and the drive pin GATE is also connected to the gate of the switch tube M00 and a chip The external capacitor C00 is connected, wherein C00 may be an external capacitor or a parasitic capacitance of the switching tube M00; the source of the switching tube M00 and the other end of the off-chip capacitor C00 are both grounded.
本实施方式中的引脚复用电路包括开关K10、运算放大器U10、受控电流源I11、固定电流源I12以及D触发器U11;其中:运算放大器U10的同相输入端接固定电压VREF,运算放大器U10的反相输入端和输出端与开关K10的一端相连,故运算放大器U10的输出电压也为VREF,开关K10的另一端与驱动引脚GATE相连;受控电流源I11的输入端接电源电压VD,控制端采集引脚复用电路向驱动引脚GATE流出的电流i10,输出端与固定电流源I12的输入端以及D触发器U11的输入端相连,固定电流源I12的输出端接地,D触发器U11的时钟端CLK接收脉冲信号。The pin multiplexing circuit in this embodiment includes a switch K10, an operational amplifier U10, a controlled current source I11, a fixed current source I12, and a D flip-flop U11; wherein: the non-inverting input terminal of the operational amplifier U10 is connected to a fixed voltage VREF, and the operational amplifier The inverting input terminal and output terminal of U10 are connected with one end of switch K10, so the output voltage of operational amplifier U10 is also VREF, and the other end of switch K10 is connected with drive pin GATE; the input terminal of controlled current source I11 is connected with power supply voltage VD, the current i10 flowing from the multiplexing circuit of the control terminal acquisition pin to the drive pin GATE, the output terminal is connected to the input terminal of the fixed current source I12 and the input terminal of the D flip-flop U11, the output terminal of the fixed current source I12 is grounded, D The clock terminal CLK of the flip-flop U11 receives the pulse signal.
在启动时,开关K10导通,控制驱动电路U00不对开关管M00进行上拉或者下拉,则驱动引脚GATE上的电压为VREF,固定电压VREF低于开关管M00的阈值电压,确保开关管M00处于关断状态。为保证在芯片断电时,开关管M00的栅极被电阻拉低,可在驱动引脚GATE与地之间加入一片内电阻R00,从而确保开关管M00处于关断状态,使系统安全可靠。由于在本实施方式中,驱动引脚GATE到地之间已加入片外电阻R10,因此片内电阻R00可加可不加。When starting, the switch K10 is turned on, and the control drive circuit U00 does not pull up or pull down the switch tube M00, then the voltage on the drive pin GATE is VREF, and the fixed voltage VREF is lower than the threshold voltage of the switch tube M00, ensuring that the switch tube M00 is off. In order to ensure that the gate of the switch tube M00 is pulled down by the resistor when the chip is powered off, an on-chip resistor R00 can be added between the drive pin GATE and the ground, so as to ensure that the switch tube M00 is in the off state, making the system safe and reliable. Since in this embodiment, an off-chip resistor R10 has been added between the drive pin GATE and the ground, the on-chip resistor R00 can be added or not.
当加入片内电阻R00时,引脚复用电路向驱动引脚GATE流出的电流i10大小为VREF/(R10+R00)。其中,由于片内电阻R00的大小每个芯片都是固定的,因此电流i10的大小仅仅和片外电阻R10有关。当没有加入片内电阻R00时,i10=VREF/R10。When the on-chip resistor R00 is added, the magnitude of the current i10 flowing from the pin multiplexing circuit to the drive pin GATE is VREF/(R10+R00). Among them, since the size of the on-chip resistor R00 is fixed for each chip, the size of the current i10 is only related to the off-chip resistor R10. When the on-chip resistor R00 is not added, i10=VREF/R10.
受控电流源I11和固定电流源I12串联,其中,受控电流源I11为电流控制的电流源,其输出电流大小受电流i10控制,固定电流源I12为固定电流输出。当受控电流源I11的输出电流大于固定电流源I12时,则受控电流源I11与固定电流源I12的连接点电压V1被受控电流源I11上拉,即电压V1为高;当受控电流源I11的输出电流小于固定电流源I12时,则受控电流源I11与固定电流源I12的连接点电压V1被固定电流源I12下拉,即电压V1为低。电压V1连接到D触发器的数字输入端D。驱动引脚GATE电压稳定在VREF后,则电压V1也稳定在高电平或低电平。脉冲信号输入到D触发器的时钟端CLK,则D触发器的输出端OUT锁存输出CLK为高时的数字输入端电压。D触发器锁存完成后,开关K10断开,引脚复用电路不对开关管M00产生影响,完成电路的设置。The controlled current source I11 is connected in series with the fixed current source I12, wherein the controlled current source I11 is a current controlled current source, and its output current is controlled by the current i10, and the fixed current source I12 is a fixed current output. When the output current of the controlled current source I11 is greater than the fixed current source I12, the voltage V1 at the connection point between the controlled current source I11 and the fixed current source I12 is pulled up by the controlled current source I11, that is, the voltage V1 is high; When the output current of the current source I11 is smaller than the fixed current source I12, the voltage V1 at the connection point between the controlled current source I11 and the fixed current source I12 is pulled down by the fixed current source I12, that is, the voltage V1 is low. The voltage V1 is connected to the digital input D of the D flip-flop. After the voltage of the driving pin GATE is stabilized at VREF, the voltage V1 is also stabilized at high level or low level. The pulse signal is input to the clock terminal CLK of the D flip-flop, and the output terminal OUT of the D flip-flop latches the voltage of the digital input terminal when the output CLK is high. After the latching of the D flip-flop is completed, the switch K10 is turned off, the pin multiplexing circuit does not affect the switch tube M00, and the setting of the circuit is completed.
D触发器的输出端OUT保持锁存高电平或低电平电压,可以设置芯片两种工作状态。芯片设置完成后,控制驱动电路U00控制开关管M00的开关动作。The output terminal OUT of the D flip-flop keeps latching the high-level or low-level voltage, and two working states of the chip can be set. After the chip configuration is completed, the driving circuit U00 is controlled to control the switching action of the switching tube M00.
本实施方式给出的是两种工作状态的设置方法,再加一路受控电流源、固定电流源和D触发器,则可设置四种工作状态,以此类推。This embodiment provides the setting method of two working states, plus a controlled current source, a fixed current source and a D flip-flop, four working states can be set, and so on.
实施例2Example 2
如图2所示,本实施方式引脚复用的芯片包括引脚复用电路和控制驱动电路U00;引脚复用电路和控制驱动电路U00与该芯片的驱动引脚GATE以及一片外电阻R10共连,片外电阻R10的另一端则接地;控制驱动电路U00用于通过驱动引脚GATE为片外的开关管M00提供开关控制信号,驱动引脚GATE还与开关管M00的栅极以及一片外电容C00相连,开关管M00的源极以及片外电容C00的另一端均接地。As shown in Figure 2, the pin multiplexing chip of this embodiment includes a pin multiplexing circuit and a control driving circuit U00; The other end of the off-chip resistor R10 is grounded; the control drive circuit U00 is used to provide switch control signals for the off-chip switch tube M00 through the drive pin GATE, and the drive pin GATE is also connected to the gate of the switch tube M00 and a chip The external capacitor C00 is connected, and the source of the switch tube M00 and the other end of the off-chip capacitor C00 are both grounded.
本实施方式中的引脚复用电路包括开关K10、运算放大器U10、A/D转换电路U20以及锁存器U21;其中:运算放大器U10的同相输入端接固定电压VREF,运算放大器U10的反相输入端和输出端与开关K10的一端相连,故运算放大器U10的输出电压也为VREF,开关K10的另一端与驱动引脚GATE相连;A/D转换电路U20的输入端与驱动引脚GATE连接用以采集引脚复用电路向驱动引脚GATE流出的电流i10,输出端与锁存器U21的输入端相连,锁存器U21的时钟端CLK接收脉冲信号。The pin multiplexing circuit in this embodiment includes a switch K10, an operational amplifier U10, an A/D conversion circuit U20, and a latch U21; wherein: the non-inverting input terminal of the operational amplifier U10 is connected to a fixed voltage VREF, and the inverting input terminal of the operational amplifier U10 The input end and output end are connected to one end of the switch K10, so the output voltage of the operational amplifier U10 is also VREF, and the other end of the switch K10 is connected to the driving pin GATE; the input end of the A/D conversion circuit U20 is connected to the driving pin GATE It is used to collect the current i10 flowing from the pin multiplexing circuit to the drive pin GATE, the output terminal is connected to the input terminal of the latch U21, and the clock terminal CLK of the latch U21 receives the pulse signal.
在启动时,开关K10导通,控制驱动电路U00不对开关管M00进行上拉或者下拉,则驱动引脚GATE上的电压为VREF,固定电压VREF低于开关管M00的阈值电压,确保开关管M00处于关断状态;引脚复用电路向驱动引脚GATE流出的电流i10大小为VREF/R10。When starting, the switch K10 is turned on, and the control drive circuit U00 does not pull up or pull down the switch tube M00, then the voltage on the drive pin GATE is VREF, and the fixed voltage VREF is lower than the threshold voltage of the switch tube M00, ensuring that the switch tube M00 It is in an off state; the current i10 flowing from the pin multiplexing circuit to the driving pin GATE is VREF/R10.
采样得到电流i10,进入A/D转换电路U20,将模拟的电流信号转换成数字信号。A/D转换电路U20将其输出与锁存器U21的数字输入端D相连。驱动引脚GATE电压稳定在VREF后,则电流i10的大小也稳定。脉冲信号输入到锁存器U21的时钟端CLK,则锁存器U21的输出端OUT锁存输出CLK为高时的数字输入端电压。锁存器U21锁存完成后,开关K10断开,引脚复用电路不对开关管M00产生影响,完成芯片的设置。其中,A/D转换电路U20可以是N位转换电路,则其输出信号有2N路,则锁存器U21的输入和输出各有2N路信号,即可设置2N种工作状态。The sampled current i10 enters the A/D conversion circuit U20 to convert the analog current signal into a digital signal. The A/D conversion circuit U20 connects its output to the digital input terminal D of the latch U21. After the voltage of the driving pin GATE is stabilized at VREF, the magnitude of the current i10 is also stable. The pulse signal is input to the clock terminal CLK of the latch U21, and the output terminal OUT of the latch U21 latches the voltage of the digital input terminal when the output CLK is high. After the latching of the latch U21 is completed, the switch K10 is turned off, the pin multiplexing circuit does not affect the switch tube M00, and the setting of the chip is completed. Wherein, the A/D conversion circuit U20 may be an N-bit conversion circuit, and its output signal has 2 N channels, and the input and output of the latch U21 each have 2 N channels of signals, and 2 N working states can be set.
实施例3Example 3
如图3所示,本实施方式引脚复用的芯片包括引脚复用电路和控制驱动电路U00;引脚复用电路和控制驱动电路U00与该芯片的驱动引脚GATE以及一片外电阻R10共连,片外电阻R10的另一端则接地;控制驱动电路U00用于通过驱动引脚GATE为片外的开关管M00提供开关控制信号,驱动引脚GATE还与开关管M00的栅极以及一片外电容C00相连,开关管M00的源极以及片外电容C00的另一端均接地。As shown in Figure 3, the pin multiplexing chip of this embodiment includes a pin multiplexing circuit and a control driving circuit U00; The other end of the off-chip resistor R10 is grounded; the control drive circuit U00 is used to provide switch control signals for the off-chip switch tube M00 through the drive pin GATE, and the drive pin GATE is also connected to the gate of the switch tube M00 and a chip The external capacitor C00 is connected, and the source of the switch tube M00 and the other end of the off-chip capacitor C00 are both grounded.
本实施方式中的引脚复用电路包括开关K10、固定电流源I30、钳位电路U30、A/D转换电路U20以及锁存器U21;其中:固定电流源I30的输入端接电源电压VD,输出端与与开关K10的一端相连,开关K10的另一端与驱动引脚GATE相连;钳位电路U30连接于固定电流源I30输出端与地之间,A/D转换电路U20的输入端与固定电流源I30的输出端连接用以采集驱动引脚GATE的电压,输出端与锁存器U21的输入端相连,锁存器U21的时钟端CLK接收脉冲信号。The pin multiplexing circuit in this embodiment includes a switch K10, a fixed current source I30, a clamp circuit U30, an A/D conversion circuit U20, and a latch U21; wherein: the input terminal of the fixed current source I30 is connected to the power supply voltage VD, The output end is connected to one end of the switch K10, and the other end of the switch K10 is connected to the drive pin GATE; the clamping circuit U30 is connected between the output end of the fixed current source I30 and the ground, and the input end of the A/D conversion circuit U20 is connected to the fixed The output terminal of the current source I30 is connected to collect the voltage of the drive pin GATE, the output terminal is connected to the input terminal of the latch U21, and the clock terminal CLK of the latch U21 receives the pulse signal.
在启动时,开关K10导通,控制驱动电路U00不对开关管M00进行上拉或者下拉,固定电流源I30所输出的电流i30固定,驱动引脚GATE上的电压为i30*R10;电流i30从固定电流源I30的输出端流向驱动引脚GATE,钳位电路U30经过开关K10与驱动引脚GATE并联,其钳位电压低于开关管M00的开启阈值电压,防止在芯片工作状态设置过程中,开关管M00误导通。片外电阻R10不能过大,否则i30*R10大于钳位电路U30的钳位电压,则钳位电路U30将驱动引脚GATE电压钳位。When starting, the switch K10 is turned on, and the control drive circuit U00 does not pull up or pull down the switch tube M00, the current i30 output by the fixed current source I30 is fixed, and the voltage on the driving pin GATE is i30*R10; the current i30 is from the fixed The output terminal of the current source I30 flows to the drive pin GATE, and the clamping circuit U30 is connected in parallel with the drive pin GATE through the switch K10, and its clamping voltage is lower than the turn-on threshold voltage of the switch tube M00, so as to prevent the switch Tube M00 is incorrectly turned on. The off-chip resistor R10 cannot be too large, otherwise i30*R10 is greater than the clamping voltage of the clamping circuit U30, and the clamping circuit U30 will clamp the voltage of the driving pin GATE.
采样得到驱动引脚GATE电压,进入A/D转换电路U20,将模拟的电压信号转换成数字信号。A/D转换电路U20将其输出与锁存器U21的数字输入端D相连。驱动引脚GATE电压稳定后,脉冲信号输入到锁存器U21的时钟端CLK,则锁存器U21的输出端OUT锁存输出CLK为高时的数字输入端电压。锁存器U21锁存完成后,开关K10断开,引脚复用电路不对开关管M00产生影响,完成芯片的设置。其中,A/D转换电路U20可以是N位转换电路,则其输出信号有2N路,则锁存器U21的输入和输出各有2N路信号,即可设置2N种工作状态。The voltage of the driving pin GATE is obtained by sampling, and enters the A/D conversion circuit U20 to convert the analog voltage signal into a digital signal. The A/D conversion circuit U20 connects its output to the digital input terminal D of the latch U21. After the voltage of the driving pin GATE is stabilized, the pulse signal is input to the clock terminal CLK of the latch U21, and the output terminal OUT of the latch U21 latches and outputs the voltage of the digital input terminal when CLK is high. After the latching of the latch U21 is completed, the switch K10 is turned off, the pin multiplexing circuit does not affect the switch tube M00, and the setting of the chip is completed. Wherein, the A/D conversion circuit U20 may be an N-bit conversion circuit, and its output signal has 2 N channels, and the input and output of the latch U21 each have 2 N channels of signals, and 2 N working states can be set.
上述对实施例的描述是为便于本技术领域的普通技术人员能理解和应用本发明。熟悉本领域技术的人员显然可以容易地对上述实施例做出各种修改,并把在此说明的一般原理应用到其他实施例中而不必经过创造性的劳动。因此,本发明不限于上述实施例,本领域技术人员根据本发明的揭示,对于本发明做出的改进和修改都应该在本发明的保护范围之内。The above description of the embodiments is for those of ordinary skill in the art to understand and apply the present invention. It is obvious that those skilled in the art can easily make various modifications to the above-mentioned embodiments, and apply the general principles described here to other embodiments without creative efforts. Therefore, the present invention is not limited to the above embodiments, and improvements and modifications made by those skilled in the art according to the disclosure of the present invention should fall within the protection scope of the present invention.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610682792.4A CN106209066B (en) | 2016-08-17 | 2016-08-17 | Method and chip for multiplexing chip pins |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610682792.4A CN106209066B (en) | 2016-08-17 | 2016-08-17 | Method and chip for multiplexing chip pins |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106209066A CN106209066A (en) | 2016-12-07 |
| CN106209066B true CN106209066B (en) | 2023-03-14 |
Family
ID=57522611
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610682792.4A Active CN106209066B (en) | 2016-08-17 | 2016-08-17 | Method and chip for multiplexing chip pins |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106209066B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107493099B (en) * | 2017-08-22 | 2021-11-26 | 钰泰半导体股份有限公司 | Method for setting chip working mode |
| CN109782660B (en) * | 2018-12-28 | 2020-04-24 | 深圳市优必选科技有限公司 | Control circuit and device compatible with voltage-type and current-type analog input |
| CN109921780B (en) * | 2019-03-07 | 2023-03-14 | 上海申矽凌微电子科技有限公司 | Multiplexing pin circuit |
| CN111289885B (en) * | 2020-03-06 | 2022-06-03 | 湖南国科微电子股份有限公司 | Debugging system and method for power-on and power-off of chip |
| CN111474407B (en) * | 2020-06-29 | 2020-11-13 | 上海海栎创微电子有限公司 | Mode selection device with voltage detection priority |
| CN113419164B (en) * | 2021-08-24 | 2021-11-26 | 深圳英集芯科技股份有限公司 | Chip test and pin multiplexing unit and chip test and pin multiplexing method |
| CN116165510B (en) * | 2022-12-29 | 2023-11-24 | 无锡晟朗微电子有限公司 | Communication device for chip test |
| CN118367913B (en) * | 2024-05-07 | 2025-06-17 | 芜湖楚睿智能科技有限公司 | A multiplexing chip circuit |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101882864B (en) * | 2010-06-25 | 2012-08-22 | 矽力杰半导体技术(杭州)有限公司 | Electrifying startup circuit and electrifying startup method thereof |
| CN102820764A (en) * | 2012-09-11 | 2012-12-12 | 成都芯源系统有限公司 | control circuit, switching converter and control method thereof |
| CN103066985B (en) * | 2012-12-06 | 2016-02-17 | 无锡中星微电子有限公司 | There is the chip of multiplexing pins |
| CN103066872B (en) * | 2013-01-17 | 2015-06-17 | 矽力杰半导体技术(杭州)有限公司 | Integration switch power supply controller and switch power supply using the same |
| CN104767514B (en) * | 2015-03-16 | 2018-04-13 | 福州大学 | Integrated circuit pin multiple state representation method and its external circuits |
| CN205945689U (en) * | 2016-08-17 | 2017-02-08 | 杰华特微电子(杭州)有限公司 | Multiplexing chip of chip fin |
-
2016
- 2016-08-17 CN CN201610682792.4A patent/CN106209066B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN106209066A (en) | 2016-12-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106209066B (en) | Method and chip for multiplexing chip pins | |
| CN205945689U (en) | Multiplexing chip of chip fin | |
| CN105242190B (en) | current detection circuit | |
| CN109342928A (en) | Chip testing device and method | |
| CN103743934A (en) | High-precision high-side current detection circuit | |
| CN205301889U (en) | Interface circuit is mixed to digifax suitable for multiple interface type sensor | |
| CN1949668B (en) | Retarding comparator circuit of single terminal input | |
| CN105044536A (en) | Novel packaging defect detection method and novel packaging defect detection system | |
| CN106602878A (en) | Buck-boost conversion device | |
| CN204072062U (en) | A kind of temperature sensing device and armarium | |
| CN204332380U (en) | Programming circuit for antifuse | |
| CN203616454U (en) | High-precision battery management system (BMS) unit voltage acquisition circuit | |
| CN109460101B (en) | A control circuit for dynamic output voltage boundary of DC-DC converter | |
| CN106841964B (en) | High-precision programmable voltage soft-start circuit | |
| CN100391090C (en) | A circuit for controlling the output range of power supply voltage | |
| CN204068923U (en) | Voltage signal is converted to the circuit that high-band carries current signal | |
| CN107656121A (en) | A kind of low cost DC voltage isolation picking circuit | |
| CN204855637U (en) | Battery management system's current sampling circuit | |
| CN203086437U (en) | Level switching circuit | |
| CN221707654U (en) | A clock circuit function detection system | |
| CN106338699A (en) | Dummy load circuit | |
| CN206759420U (en) | Bidirectional level conversion circuit | |
| CN207339648U (en) | A kind of voltage conversion circuit for Internet of Things single-site data acquisition | |
| CN220064223U (en) | Detection circuit based on low voltage and small voltage drop | |
| CN218679038U (en) | AD acquisition circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: Room 901-23, 9 / F, west 4 building, Xigang development center, 298 Zhenhua Road, Sandun Town, Xihu District, Hangzhou City, Zhejiang Province, 310030 Applicant after: Jiehuate Microelectronics Co.,Ltd. Address before: Room 424, building 1, 1500 Wenyi West Road, Cangqian street, Yuhang District, Hangzhou City, Zhejiang Province Applicant before: JOULWATT TECHNOLOGY Inc.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address | ||
| CP03 | Change of name, title or address |
Address after: 310030 Zhejiang Province, Hangzhou City, Xihu District, Sandun Town, Shengtangba Street No. 19, Shengtang Xin Cheng Patentee after: Jiehuate Microelectronics Co.,Ltd. Country or region after: China Address before: Room 901-23, 9 / F, west 4 building, Xigang development center, 298 Zhenhua Road, Sandun Town, Xihu District, Hangzhou City, Zhejiang Province Patentee before: Jiehuate Microelectronics Co.,Ltd. Country or region before: China |