Method and apparatus for detecting power-on reset threshold

The POR signal test circuit indirectly evaluates POR-related signals to determine the POR signal status, overcoming testing challenges by using decoders and switches to control resistance at existing pins, ensuring reliable and efficient testing without direct access.

CN119064752APending Publication Date: 2024-12-03STMICROELECTRONICS INT NV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410686739.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-05-31
Filing Date
2024-05-30
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Testing the power-on reset (POR) signal in integrated circuits is challenging due to potential interference with the logic core during testing, limitations in current consumption monitoring, indirect measurement inefficiencies, and lack of available pins for additional testing.

Method used

A test circuit that indirectly tests the POR signal by evaluating POR-related signals using decoders and switches to control resistance at test pins, allowing external reading without direct access to the POR signal.

Benefits of technology

Enables reliable and efficient testing of the POR signal status without interfering with the POR generator, utilizing existing pins for external reading, and simplifying the testing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119064752A_ABST
    Figure CN119064752A_ABST
Patent Text Reader

Abstract

The invention relates to a method and apparatus for detecting a power-on reset threshold. A test circuit for indirectly testing generation of a power-on reset (POR) signal within an integrated circuit (IC) is disclosed. The test circuit includes a switch configured to selectively disconnect the internal circuit from the test pin of the IC in response to activation of the IC; a plurality of resistors connected between the test pin and a respective plurality of switches, the respective plurality of switches configured to selectively connect a resistor of the plurality of resistors to ground in response to a respective control signal; and a control circuit configured to generate, at the test pin, a resistance indicating a state of generation of the POR signal by selectively operating the plurality of switches based on a state of a plurality of signals according to which generation of the POR signal is generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of power-on reset (POR) circuits, and in particular to a test circuit capable of indirectly testing a POR circuit. Background Art

[0002] A power-on reset (POR) signal is used in integrated circuits and systems for initialization after power-on. The POR signal resets various logic components within the integrated circuit or system to a known state, thereby providing predictable and expected operation thereafter.

[0003] exist Figure 1 , a known power-on reset (POR) circuit 10 is illustrated in FIG. The POR circuit includes a first voltage regulator 11 and a second voltage regulator 12, the first voltage regulator generating a regulated voltage VRREF1 of 5V at a node N1 according to an input voltage VINF, and the second voltage regulator 12 generating a regulated voltage VRREF2 of 1.8V at a node N2 based on a bandgap voltage VBG generated by a bandgap generator 16. A first voltage divider formed by resistors R1 and R2 connected in series is connected between the node N1 and ground, and a node N3 is a tap between the resistors R1 and R2. Similarly, a second voltage divider formed by resistors R3 and R4 connected in series is connected between the node N2 and ground, and a node N4 is a tap between the resistors R3 and R4.

[0004] The first hysteresis comparator 13 compares the voltage at the node N3 with the bandgap voltage VBG, and asserts its output when the voltage at the node N3 is at least equal to the bandgap voltage VBG. In this case, the values ​​of the resistors R1 and R2 are set so that when the voltage at the node N3 is at least equal to the bandgap voltage VBG, it can be inferred that the first voltage regulator 11 is operating normally. The second hysteresis comparator 14 compares the voltage at the node N4 with the bandgap voltage VBG, and asserts its output when the voltage at the node N4 is at least equal to the bandgap voltage VBG. Here, the values ​​of the resistors R3 and R4 are set so that when the voltage at the node N4 is at least equal to the bandgap voltage VBG, it can be inferred that the second voltage regulator 12 is operating normally.

[0005] The logic gate 15 performs a logical AND operation on the outputs of the hysteresis comparators 13 and 14, the signal BG_OK indicating that the bandgap voltage VBG is stable, and the signal OSC_OK indicating whether the clock frequency has stabilized (received from the oscillator 19). The output of the AND gate 15 is inverted by the inverter 17 to generate the POR signal. As will be understood by those skilled in the art, when the POR signal is asserted, it indicates that the system is in a reset state, and when the POR is de-asserted, the system is in an operating state.

[0006] Therefore, through this functionality, when the normal operation of the voltage regulators 11 and 12 has been verified, the bandgap voltage VBG has stabilized, and the clock frequency has stabilized, the POR signal is de-asserted. Therefore, it is safe to use the POR signal to reset the logic circuits within the logic core 18 of the integrated circuit (IC) incorporating the POR circuit 10.

[0007] The ability to verify the correct generation of a POR signal is of particular concern in integrated circuit (IC) design. However, testing the POR signal is challenging due to potential problems that may result from modifying or manipulating the POR signal. Such problems may include, for example, creating a loop that prevents an effective reset of the logic core 18, which may compromise the functionality of the IC. Since the logic core 18 is responsible for processing instructions and data, it is important to provide a correct reset for it. Therefore, it is desirable to allow the POR signal to operate as designed without interference.

[0008] Although ICs usually have a test mode that enables testing of their internal functions, it is not feasible to test the POR signal using such a test mode. This is because the POR signal will reset the logic core 18 responsible for executing the test mode itself. Since the POR signal will affect the components to be tested, it is not possible to use the test mode to evaluate the POR signal.

[0009] In view of these challenges, alternative solutions for testing the correct generation of the POR signal have been developed. One such solution includes testing the current consumption, while another includes indirect measurement of the POR signal. A third method proposes to modify the IC to add an additional pin.

[0010] The POR signal causes the components within the logic core 18 to reset almost simultaneously, resulting in an increase in current consumption. By monitoring the actual current consumed by the core 18 after the power-on reset is initiated, it can be assumed that the POR circuit 10 is functioning properly based on the expected power consumption, and therefore the successful generation of the POR signal can be inferred. Indirect measurement involves observing a signal related to the generation of the POR signal, but not the POR signal itself. If the signal behaves as expected, it can be inferred that the POR signal has been successfully generated. However, both current consumption testing and indirect measurement can be time consuming and may not be practical or efficient for certain applications.

[0011] As previously mentioned, additional pins may be added to the IC for the purpose of POR signal testing. However, the IC may not have enough space for additional pins, or if there is space, it is likely that the additional pins will be preferably allocated for purposes other than POR signal testing.

[0012] Considering these limitations, further development is needed to design effective and practical methods for testing POR signals in integrated circuits. Summary of the invention

[0013] A test circuit for indirectly testing the generation of a power-on reset (POR) signal within an integrated circuit (IC) is disclosed herein. The test circuit includes: a switch configured to selectively disconnect an internal circuit from a test pin of the IC in response to the startup of the IC; a plurality of resistors connected between the test pin and a corresponding plurality of switches, the corresponding plurality of switches configured to selectively connect a resistor of the plurality of resistors to ground in response to a corresponding control signal; and a control circuit configured to generate a resistance indicating the state of the generation of the POR signal at the test pin by selectively operating the plurality of switches based on the state of the plurality of signals according to which the POR signal is generated.

[0014] The control circuit may include one or more decoders.

[0015] The states of the plurality of signals based on which the POR signal is generated may be determined based on signals indicative of the states.

[0016] The signals indicative of states of the plurality of signals may include at least one regulator state signal, at least one reference voltage generator state signal, and at least one clock state signal.

[0017] The at least one regulator status signal may indicate that a regulated voltage generated by an associated voltage regulator is within a desired threshold, the at least one reference voltage generator status signal indicates stability of a reference voltage generated by an associated reference voltage generator, and the at least one clock status signal indicates stability of an associated clock signal.

[0018] The test pin may be an Under-Voltage Lock-Out pin and the internal circuit may be an Under-Voltage Lock-Out circuit configured to determine whether a power supply voltage for the IC has dropped below a lower threshold.

[0019] The test pin may be an Over-Voltage Lock-Out pin and the internal circuit may be an Over-Voltage Lock-Out circuit configured to determine whether a power supply voltage for the IC has risen above an upper threshold.

[0020] The additional switches may be configured to selectively disconnect the additional internal circuit from the additional test pin of the IC in response to startup of the IC. Additional multiple resistors may be connected between the additional test pins and corresponding additional multiple switches, and the corresponding additional multiple switches are configured to selectively connect resistors of the additional multiple resistors to ground in response to corresponding additional control signals. The additional control circuit may be configured to generate a resistance indicating the state of generation of the POR signal at the additional test pin by selectively operating the additional multiple switches using additional control signals based on the state of the additional multiple signals based on which the POR signal is generated.

[0021] The states of the additional plurality of signals based on which the POR signal is generated may be determined based on signals indicative of those states.

[0022] The signals indicative of the states of the plurality of signals may include at least one regulator state signal.

[0023] The at least one regulator status signal may indicate that a regulated voltage generated by an associated voltage regulator is within a desired threshold.

[0024] The signals indicating the states of the plurality of signals may include at least one reference voltage generator state signal and at least one clock state signal. The at least one reference voltage generator state signal may indicate the stability of a reference voltage generated by an associated reference voltage generator, and the at least one clock state signal may indicate the stability of an associated clock signal.

[0025] The additional test pin may be an undervoltage lockout pin, and the additional internal circuit may be an undervoltage lockout circuit configured to determine whether the power supply voltage for the IC has dropped below a lower threshold. The additional test pin may be an overvoltage lockout pin, and the additional internal circuit may be an overvoltage lockout circuit configured to determine whether the power supply voltage for the IC has risen above a higher threshold.

[0026] A method aspect is also disclosed herein. Specifically, a method for indirectly testing the generation of a power-on reset (POR) signal within an integrated circuit (IC) is disclosed herein. The method includes disconnecting one or more test pins from corresponding internal circuits, determining the states of multiple signals based on which the generation of the POR signal is based, changing the resistance at the one or more test pins based on the determined states of the multiple signals, measuring the resistance at the one or more test pins, and determining the state of the generation of the POR signal based on the measured resistance.

[0027] Measuring the resistance at one or more test pins may include applying a constant current to the one or more test pins and measuring a voltage generated at those one or more test pins.The state of generation of the POR signal may be determined based on the generated voltage.

[0028] The states of the plurality of signals based on which the POR signal is generated may be determined by monitoring a plurality of state signals, the plurality of state signals indicating the states of the plurality of signals based on which the POR signal is generated. The resistance at the one or more test pins may be changed based on the determined states of the plurality of signals by operating a series of switches based on the plurality of state signals to selectively connect one or more resistors between the one or more test pins and ground.

[0029] The plurality of status signals may include one or more of: at least one reference voltage generator status signal (indicating stability of a reference voltage generated by an associated reference voltage generator), at least one clock status signal (indicating stability of an associated clock signal), and at least one regulator status signal (indicating that a regulated voltage generated by an associated voltage regulator is within a desired threshold).

[0030] The one or more test pins may include an under-voltage lockout pin, and the internal circuit is an under-voltage lockout circuit configured to determine whether a power supply voltage for the IC has dropped below a lower threshold.

[0031] The one or more test pins may include an overvoltage lockout pin, and the internal circuit is an overvoltage lockout circuit configured to determine whether a power supply voltage for the IC has risen above an upper threshold.

[0032] The states of the plurality of signals based on which the POR signal is generated may be determined by monitoring a plurality of state signals, the plurality of state signals indicating the states of the plurality of signals based on which the POR signal is generated. The resistance at the one or more test pins may be changed based on the determined states of the plurality of signals by operating a series of switches based on the plurality of state signals to selectively connect one or more resistors in series between the one or more test pins and ground. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a block diagram of a known power-on reset (POR) signal generating circuit.

[0034] Figure 2 is a block diagram of an integrated circuit including a power-on reset (POR) signal test circuit disclosed herein.

[0035] Figure 3A and 3B yes Figure 2 A diagram of various signals during operation of an integrated circuit.

[0036] Figure 4 is a block diagram of another integrated circuit disclosed herein including a power-on reset (POR) signal test circuit. DETAILED DESCRIPTION

[0037] The following disclosure enables those skilled in the art to make and use the subject matter described herein. The general principles outlined in this disclosure may be applied to embodiments or applications other than those described in detail above without departing from the spirit and scope of the disclosure. It is not intended to limit the disclosure to the embodiments shown, but rather to give it the widest scope consistent with the principles and features disclosed or suggested herein.

[0038] Note that in the following description, unless otherwise specified, any resistor or resistance mentioned is a discrete device, not just an electrical lead between two points. Therefore, any resistor or resistance connected between two points has a higher resistance than the lead between the two points, and such a resistor or resistance cannot be interpreted as a lead. Similarly, unless otherwise specified, any capacitor or capacitance mentioned is a discrete device, and unless otherwise specified, it is not a parasitic element. In addition, unless otherwise specified, any inductor or inductance mentioned is a discrete device, and unless otherwise specified, it is not a parasitic element.

[0039] Disclosed herein is a power-on reset (POR) signal test circuit 50 that enables indirect testing of the POR signal by evaluating POR-related signals, which allows determination of correct generation of the POR signal and provides easy external reading of the POR signal state.

[0040] Figure 2 4 is an integrated circuit (IC) 40, which includes a POR signal test circuit 50. The IC 40 includes an undervoltage lockout (UVLO) circuit 41, an overvoltage lockout (OVLO) circuit 43, and a POR signal test circuit 50. The IC also includes Figure 1 The POR reset signal generator 10 and the logic core 18 are described.

[0041] IC 40 includes an input voltage VIN pin, a UVLO pin, and an OVLO pin. A power supply voltage VCC is connected to the input voltage VIN pin, and a decoupling capacitor CIN is connected between the input voltage VIN pin and ground. As will be explained, during power-up, a POR signal test circuit 50 is connected to the UVLO pin, while the UVLO circuit 41 is disconnected from the UVLO pin via the default disconnection of the switch Sw1 at startup, and the POR signal test circuit 50 is also connected to the OVLO pin, while the OVLO circuit 43 is disconnected from the OVLO pin via the default disconnection of the switch Sw2 at startup.

[0042] The UVLO circuit 41 includes a resistor Rr7 connected between the input voltage VIN pin and the node Nn1, a resistor Rr8 connected between the node Nn1 and the ground, and a comparator 42 having an inverting input terminal connected to the node Nn1 and a non-inverting input terminal of the comparator 42 connected to the first reference voltage VREF1. When activated by closing the switch Sw1 through the logic core 18, the UVLO circuit 41 determines whether the voltage at the node Nn1 (generated by the input voltage VIN) has dropped below the first reference voltage VREF1 representing an under-voltage lockout level.

[0043] The OVLO circuit 43 includes a resistor Rr9 connected between the input voltage VIN pin and the node Nn2, a resistor Rr10 connected between the node Nn2 and the ground, and a comparator 44 having an inverting input terminal connected to the node Nn2 and a non-inverting input terminal of the comparator 44 connected to the second reference voltage VREF2. When activated by closing the switch Sw2 through the logic core 18, the OVLO circuit 43 determines whether the voltage at the node Nn2 (generated by the input voltage VIN) has risen above the second reference voltage VREF2 indicating an overvoltage lockout level.

[0044] Note that when the switch Sw1 and the switch Sw2 are open, the UVLO circuit 41 and the OVLO circuit 43 operate normally based on the voltages at the nodes Nn1 and Nn2 .

[0045] The POR signal test circuit 50 includes a first resistor Rr1 selectively connected between the UVLO pin and the ground through a switch S1, a second resistor Rr2 selectively connected between the UVLO pin and the ground through a switch S2, and a third resistor Rr3 selectively connected between the UVLO pin and the ground through a switch S3, and a decoder 51 controls the operation of the switches S1, S2, and S3. The decoder 51 operates to decode a multi-bit binary input into 1 of N outputs, which means that the decoder 51 asserts one of its N outputs in response to the multi-bit binary input and does not assert multiple inputs at the same time.

[0046] The POR signal test circuit 50 further includes a fourth resistor Rr4 selectively connected between the OVLO pin and ground through a switch S4, a fifth resistor Rr5 selectively connected between the OVLO pin and ground through a switch S5, and a sixth resistor Rr6 selectively connected between the OVLO pin and ground through a switch S6. The decoder 52 controls the operation of the switches S4, S5, and S6. The decoder 52 operates to decode a multi-bit binary input into 1 of N outputs, which means that the decoder 52 asserts one of its N outputs in response to the multi-bit binary input and does not assert multiple inputs simultaneously.

[0047] The decoder 51 operates switches S1, S2, and S3 based on a first signal REG5V_OK indicating normal operation of the internal 5V voltage regulator (e.g., indicating whether the regulated 5V signal is within the expected threshold) and a second signal REG1V8_OK indicating normal operation of the internal 1.8V voltage regulator (e.g., indicating whether the regulated 1.8V signal is within the expected threshold). The decoder 52 operates switches S4, S5, and S6 based on a third signal BG_OK indicating normal operation of the bandgap voltage regulator (e.g., indicating whether the bandgap voltage has been stabilized and properly regulated) and a fourth signal OSC_OK indicating whether the clock frequency has been stabilized.

[0048] Recall that in Figure 1 In the POR signal generator of the present invention, the POR signal is generated based on the verification of the normal operation of the 5V regulator 11, the 1.8V regulator 12 and the assertion of the BG_OK and OSC_OK signals. Therefore, if the normal operation of the 5V regulator and the 1.8V regulator is verified, and the BG_OK and OSC_OK signals are asserted to indicate that the bandgap voltage has stabilized and the clock frequency has stabilized, it can be inferred that the POR signal is correctly generated without directly acting on or monitoring the POR signal itself.

[0049] To achieve this, during startup, the switch Sw1 is opened and the first constant current Cc1 is provided to the UVLO pin, and the decoder 51 operates the switches S1, S2 and S3 for indicating the state of the first signal REG5V_OK (and thus the state of the 5V voltage regulator) and the state of the second signal REG1V8_OK (and thus the state of the 1.8V voltage regulator). This is achieved by a voltage change at the UVLO pin (which can be sensed by the tester 60 coupled to the UVLO pin), which is caused by the change in resistance between the UVLO pin and ground caused by the decoder 51 switching the switches S1, S2 and S3. Similarly, during startup or in test mode, the switch Sw2 is opened and the second constant current Cc2 is provided to the OVLO pin, and the decoder 52 operates the switches S4, S5 and S6 to signal the state of the BG_OK signal (and thus the state of the bandgap voltage regulator) and the state of the OSC_OK signal (and thus the state of the oscillator). This is accomplished by a voltage change at the OVLO pin (which may be sensed by a tester 60 coupled to the OVLO pin) caused by a change in resistance between the OVLO pin and ground resulting from decoder 52 switching switches S4, S5 and S6.

[0050] Observe that decoders 51 and 52 lack enable inputs because switches S1-S6 are open when the REG1V8_OK and REG5V_OK signals and the BG_OK and OSC_OK signals are all asserted. However, in alternative embodiments, decoders 51 and 52 may have enable inputs if desired.

[0051] A specific example will now be given. Assume that the resistance of resistors Rr1 and Rr4 is 40 kΩ, the resistance of resistors Rr2 and Rr5 is 20 kΩ, and the resistance of resistors Rr3 and Rr6 is 10 kΩ. Therefore, different resistances between the UVLO pin and the ground can be set based on which of the switches S1, S2, and S3 is closed, and different resistances between the OVLO pin and the ground can be set based on which of the switches S4, S5, and S6 is closed.

[0052] Assume that both constant currents Cc1 and Cc2 are 10 μA. Since constant current Cc1 is applied at the UVLO pin, the voltage at the UVLO pin depends on the positions of switches S1, S2, and S3. Similarly, since constant current Cc2 is applied at the OVLO pin, the voltage at the OVLO pin depends on the positions of switches S4, S5, and S6.

[0053] Therefore, if switch S1 is closed and switches S2 and S3 are open, there is a 40kΩ resistor between the UVLO pin and ground, so there is a 400mV voltage at the UVLO pin. If switch S2 is closed and switches S1 and S3 are open, there is a 20kΩ resistor between the UVLO pin and ground, so there is a 200mV voltage at the UVLO pin. If switch S3 is closed and switches S1 and S2 are open, there is a 10kΩ resistor between the UVLO pin and ground, and there is a 100mV voltage at the UVLO pin.

[0054] If switches S1, S2, and S3 are open, the resistance between the UVLO pin and ground is effectively infinite because there is an open circuit. Therefore, in this example:

[0055] The decoder 51 may close the switch S3 and keep the switches S1 and S2 open to indicate that: the first signal REG5V_OK indicates that the 5V voltage regulator is not working properly, and the second signal REG1V8_OK indicates that the 1.8V voltage regulator is not working properly;

[0056] The decoder 51 may close the switch S2 and keep the switches S1 and S3 open to indicate that: the first signal REG5V_OK indicates that the 5V voltage regulator works normally, but the second signal REG1V8_ok indicates that the 1.8V voltage regulator does not work normally;

[0057] The decoder 51 may close the switch S1 and keep the switches S2 and S3 closed to indicate that: the second signal REG1V8_ok indicates that the 1.8V voltage regulator is operating normally but the first signal REG5V_OK indicates that the 5V voltage regulator is not operating normally; and

[0058] The decoder 51 may turn off the switches S1 , S2 , and S3 to indicate that the first signal REG5V_OK indicates that the 5V voltage regulator works normally, and the second signal REG1V8_ok indicates that the 1.8V voltage regulator works normally.

[0059] The following truth table summarizes the operation of switches S1, S2, and S3 and the resulting resistance seen at UVLO depending on the logic values ​​of REG1V8_OK and REG5V_OK.

[0060]

[0061] If switch S4 is closed and switches S5 and S6 are open, there is a 40kΩ resistor between the OVLO pin and ground, so there is 400mV at the OVLO pin. If switch S5 is closed and switches S4 and S6 are open, there is a 20kΩ resistor between the OVLO pin and ground, so there is 200mV at the OVLO pin. If switch S6 is closed and switches S4 and S5 are open, there is a 10kΩ resistor between the OVLO pin and ground, so there is 100mV at the OVLO pin. If switches S4, S5, and S6 are open, there is an open circuit between the OVLO pin and ground. Therefore, in this example:

[0062] The decoder 52 may close the switch S6 and open the switches S4 and S5 to indicate that: the signal OSC_OK indicates that the clock frequency has not stabilized, and the signal BG_OK indicates that the bandgap voltage regulator is not working properly;

[0063] The decoder 52 may close the switch S5 and open the switches S1 and S6 to indicate that: the signal OSC_OK indicates that the clock frequency has stabilized, and the signal BG_OK indicates that the bandgap voltage regulator is not working properly;

[0064] The decoder 52 may close the switch S4 and open the switches S5 and S6 to indicate that the signal OSC_OK indicates that the clock frequency has not stabilized, and the signal BG_OK indicates that the bandgap voltage regulator is operating normally; and

[0065] The decoder 52 may open the switches S4 , S5 , and S6 to indicate that the signal OSC_OK indicates that the clock frequency has stabilized, and the signal BG_OK indicates that the bandgap voltage regulator operates normally.

[0066] The following truth table summarizes the operation of switches S4, S5 and S6 and the resulting resistance seen at OVLO depending on the logic values ​​of BG_OK and OSC_OK.

[0067]

[0068] exist Figure 3A and 3B An example is shown in the diagram of . Before time T1, the REG5V_OK and REG1V8_OK signals are at logic low (indicating that the 5V regulator and the 1.8V regulator are not working properly), the BG_OK signal is at logic low (indicating that the bandgap voltage regulator is not working properly), and the OSC_OK signal is logic low (indicating that the clock frequency is not yet stable), so the voltage VUVLO at the UVLO pin remains at 100mv, as does the voltage VOVLO at the OVLO pin.

[0069] At time T1, the BG_OK signal now rises to a logic high (indicating that the bandgap voltage regulator is now operating normally), and the voltage VOLVO rises to 400 mV accordingly. At time T2, the REG5V_OK signal now rises to a logic high (indicating that the 5V regulator is now operating normally), and the voltage VUVLO rises to 200 mV. At time T3, the REG1V8_OK signal now rises to a logic high (indicating that the 1.8V regulator is now operating normally), and the voltage VUVLO rises to 800 mV. Finally, at time T4, the OSC_OK signal now rises to a logic high (indicating that the clock frequency has not yet stabilized), and the voltage VOLVO rises to a high level because the POR signal is de-asserted and the OVLO pin switches to its normal function to connect to the internal voltage divider. Here, a 10 μA current injected into the internal voltage divider (resistance is approximately 100 kΩ) will produce a voltage drop of approximately 1 V.

[0070] Note that at time T4, the POR signal rises to a logic high. Thus, at time T4, the state of the POR signal is known by the values ​​of VUVLO and VOVLO without having to act on or measure the POR signal.

[0071] It should be understood that any signal used in the generation of the POR signal may be tested by the POR signal test circuit 50 for determining the state of the POR signal, and it is not necessary to use the specific signals discussed herein. It should also be understood that there may be any number of such signals, and the number of switches S1-S6 and resistors R1-R6 may be adjusted accordingly so that the decoders 51 and 53 may generate an appropriate number of control signals for the switches. For example, for m signals, each decoder may control 2 m A switch is used to select the resistor.

[0072] It should also be understood that instead of using both the UVLO and OVLO pins, the POR signal test circuit 50 may alternatively use one of the pins, utilizing switches S1-S6 to selectively connect the used pin to ground through resistors R1-R6, utilizing a single decoder to operate switches S1-S6, and thus a single output at the pin to indicate the state of the POR signal.

[0073] As another variant, the decoder need not be present. Figure 4IC40', in which the POR signal test circuit 50' has no decoder and is arranged differently. Here, resistor Rr3 is connected between the UVLO pin and node A3, resistor Rr2 is connected between nodes A3 and A2, and resistor Rr1 is connected between nodes A2 and A1. Switch S3 controlled in response to the REG1V8_OK signal is connected between nodes A3 and A2, and switch S2 controlled in response to the REG5V_OK signal is connected between nodes A2 and A1. Similarly, switch S1 controlled in response to the POR signal is connected between node A1 and ground.

[0074] Similarly, resistor Rr6 is connected between the OVLO pin and node A6, resistor Rr5 is connected between nodes A6 and A5, and resistor Rr4 is connected between nodes A5 and A4. Switch S6 controlled in response to the BG_OK signal is connected between nodes A6 and A5, and switch S5 controlled in response to the OSC_OK signal is connected between nodes A5 and A4. Switch S4 controlled in response to the POR signal is also connected between node A4 and ground.

[0075] Operation is now described.Switches S1-S3 operate in response to REG1V8_OK and REG5V_OK signals to set the resistance seen at the UVLO pin, while switches S4-S6 operate in response to BG_OK and OSC_OK signals to set the resistance seen at the OVLO pin.

[0076] Assume that the resistance of the resistors Rr1 and Rr4 is 40 kΩ, the resistance of the resistors Rr2 and Rr5 is 20 kΩ, and the resistance of the resistors Rr3 and Rr6 is 10 kΩ, and assume that both of the constant currents Cc1 and Cc2 are 10 μA.

[0077] When POR is asserted, switch S1 is closed, enabling the POR signal to be tested indirectly by evaluating POR-related signals. When switch S1 is closed and switches S2 and S3 are open, the resistance seen at the UVLO pin is 70 kΩ, so the voltage VUVLO is 700 mV. When switch S1 is closed and switch S2 is closed while switch S3 remains open, the resistance seen at the UVLO pin is 30 kΩ, so VULVO is 300 mV. When switch S1 is closed and switch S3 is closed while switch S2 remains open, the resistance seen at the UVLO pin is 50 kΩ, so VULVO is 500 mV. When switch S1 is closed and both switches S2 and S3 are closed, the resistance seen at the UVLO pin is 10 kΩ, so VULVO is 100 mV.

[0078] When POR is asserted, switch S4 is closed, enabling the POR signal to be tested indirectly by evaluating other POR-related signals. When switch S4 is closed and switches S5 and S6 are open, the resistance seen at the OVLO pin is 70 kΩ, so the voltage VOVLO is 700 mV. When switch S4 is closed and switch S5 is closed while switch S6 remains open, the resistance seen at the OVLO pin is 30 kΩ, so VOLVO is 300 mV. When switch S4 is closed and S6 is closed while switch S5 remains open, the resistance seen at the OVLO pin is 50 kΩ, so VOLVO is 500 mV. When switch S4 is closed and both switches S5 and S6 are closed, the resistance seen at the OVLO pin is 10 kΩ, so VOLVO is 100 mV.

[0079] In this example, when POR is asserted:

[0080] The first signal REG5V_OK indicates that the 5V voltage regulator is not working properly and the second signal REG1V8_OK indicates that the 1.8V voltage regulator is not working properly, which will cause the switches S2 and S3 to be disconnected;

[0081] The first signal REG5V_OK indicates that the 5V voltage regulator is operating normally and the second signal REG1V8_ok indicates that the 1.8V voltage regulator is not operating normally, which will cause the switch S2 to close while the switch S3 remains open;

[0082] The second signal REG1V8_ok indicates that the 1.8V voltage regulator is operating normally while the first signal REG5V_OK indicates that the 5V voltage regulator is not operating normally, which will cause the switch S3 to close while the switch S2 remains open;

[0083] The first signal REG5V_OK indicates that the 5V voltage regulator is operating normally and

[0084] The second signal REG1V8_ok indicates that the 1.8V voltage regulator operates normally, which will cause switches S2 and S3 to be closed;

[0085] The signal OSC_OK indicates that the clock frequency has not stabilized and the signal BG_OK indicates that the bandgap voltage regulator is not working properly, which will cause the switches S5 and S6 to be turned off;

[0086] The signal OSC_OK indicates that the clock frequency has stabilized and the signal BG_OK indicates that the bandgap voltage regulator is not working properly, which will cause the switch S5 to close and the switch S6 to remain open;

[0087] The signal OSC_OK indicates that the clock frequency has not stabilized and the signal BG_OK indicates that the bandgap voltage regulator is operating normally, which will cause the switch S6 to close while the switch S5 remains open; and

[0088] The signal OSC_OK indicating that the clock frequency has stabilized and the signal BG_OK indicating that the bandgap voltage regulator is functioning properly will cause switches S5 and S6 to close.

[0089] The following truth table summarizes the operation of switches S2 and S3 and the resulting resistance seen at UVLO depending on the logic values ​​of REG1V8_OK and REG5V_OK.

[0090]

[0091] The following truth table summarizes the operation of switches S5 and S6 and the resulting resistance seen at OVLO depending on the logic values ​​of BG_OK and OSC_OK.

[0092]

[0093] In this example, after POR is complete, switches S1 and S4 are open, while switches Sw1 and Sw2 are closed, providing normal operation of the UVLO and OVLO pins.

[0094] In summary, since the POR signal itself is not directly accessed or measured, the disclosed POR signal test circuit 50 provides an indirect way to test the correct generation and status of the POR signal. By using the UVLO and OVLO pins, the status of the POR signal can be read externally, which simplifies the testing process.

[0095] In fact, the disclosed POR signal test circuit provides several advantages. First, the indirect testing of the POR signal reduces the risk of interfering with the normal operation of the POR signal generator itself. Second, the use of the UVLO and OVLO pins for external reading makes it easier to interface with external test equipment without using additional pins (because the UVLO and OVLO circuits work properly when their inputs are left floating). Finally, the use of a resistor divider and a constant current can accurately and reliably indicate the status of the relevant signal.

[0096] It will be apparent that modifications and variations may be made to what has been described and illustrated herein without departing from the scope of the present disclosure.

[0097] Although the present disclosure has been described with a limited number of embodiments, those skilled in the art having benefit of the present disclosure may conceive other embodiments without departing from the scope of the disclosure. In addition, those skilled in the art may conceive embodiments representing various combinations of the embodiments disclosed herein in various ways.

Claims

1. A test circuit for indirectly testing the generation of a power-on reset (POR) signal in an integrated circuit IC, wherein the test circuit include: a switch configured to selectively disconnect the internal circuit from the test pin of the IC in response to activation of the IC; a plurality of resistors connected between the test pins and a corresponding plurality of switches configured to selectively connect resistors of the plurality of resistors to ground in response to corresponding control signals; as well as A control circuit is configured to generate a resistance indicating a state of generation of a POR signal at the test pin by selectively operating the plurality of switches based on states of the plurality of signals by which the POR signal is generated.

2. The test circuit of claim 1, wherein the control circuit comprises one or more decoders. 3 . The test circuit of claim 2 , wherein the states of the plurality of signals based on which the POR signal is generated are determined based on a signal indicative of states of the plurality of signals. 4 . The test circuit of claim 3 , wherein the signals indicative of states of the plurality of signals include at least one regulator state signal, at least one reference voltage generator state signal, and at least one clock state signal.

5. The test circuit of claim 4 , wherein the at least one regulator status signal indicates that a regulated voltage generated by an associated voltage regulator is within a desired threshold, wherein the at least one reference voltage generator status signal indicates stability of a reference voltage generated by the associated reference voltage generator, and wherein the at least one clock status signal indicates stability of an associated clock signal.

6. The test circuit of claim 1 , wherein the test pin is an under-voltage lockout pin; and wherein the internal circuit is an under-voltage lockout circuit configured to determine whether a power supply voltage for the IC has dropped below a lower threshold.

7. The test circuit of claim 1 , wherein the test pin is an overvoltage lockout pin; and wherein the internal circuit is an overvoltage lockout circuit configured to determine whether a power supply voltage for the IC has risen above an upper threshold.

8. The test circuit according to claim 1, further comprising: include: an additional switch configured to selectively disconnect additional internal circuitry from an additional test pin of the IC in response to activation of the IC; an additional plurality of resistors connected between additional test pins and a corresponding additional plurality of switches configured to selectively connect resistors of the additional plurality of resistors to ground in response to corresponding additional control signals; as well as The additional control circuit is configured to generate a resistance at the additional test pin indicating a state of generation of the POR signal by selectively operating the additional plurality of switches based on states of the additional plurality of signals based on which the POR signal is generated using an additional control signal. 9 . The test circuit of claim 8 , wherein the states of the additional plurality of signals based on which the POR signal is generated are determined based on a signal indicative of the states of the additional plurality of signals.

10. The test circuit of claim 9, wherein the signals indicative of states of the plurality of signals include at least one regulator state signal. 11 . The test circuit of claim 10 , wherein the at least one regulator status signal indicates that a regulated voltage generated by an associated voltage regulator is within a desired threshold.

12. A test circuit according to claim 9, wherein the signals indicating the states of the multiple signals include at least one reference voltage generator state signal and at least one clock state signal; wherein the at least one reference voltage generator state signal indicates the stability of the reference voltage generated by the associated reference voltage generator, and wherein the at least one clock state signal indicates the stability of the associated clock signal.

13. The test circuit of claim 8, wherein the additional test pin is: an undervoltage lockout pin, and the additional internal circuit is an undervoltage lockout circuit configured to determine whether a power supply voltage for the IC has dropped below a lower threshold; or An overvoltage lockout pin is provided, and additional internal circuitry is an overvoltage lockout circuit configured to determine whether a power supply voltage for the IC has risen above an upper threshold.

14. A method for indirectly testing the generation of a power-on reset (POR) signal in an integrated circuit IC, the method include: Disconnecting one or more test pins from corresponding internal circuits; determining states of a plurality of signals upon which a POR signal is generated; changing a resistance at the one or more test pins based on the determined states of the plurality of signals; measuring resistance at the one or more test pins; as well as A state of generation of a POR signal is determined based on the measured resistance.

15. The method of claim 14, wherein measuring the resistance at the one or more test pins comprises applying a constant current to the one or more test pins and measuring a voltage generated at those one or more test pins; and wherein determining the state of generation of the POR signal is performed based on the generated voltage.

16. The method according to claim 14, The states of the plurality of signals based on which the POR signal is generated are determined in the following manner: monitoring a plurality of status signals indicating states of the plurality of signals based on which the POR signal is generated: and wherein the resistance at the one or more test pins is changed based on the determined states of the plurality of signals by: A series of switches are operated based on the plurality of status signals to selectively connect one or more resistors between the one or more test pins and ground.

17. The method of claim 16, wherein the plurality of status signals comprises one or more of the following: at least one reference voltage generator status signal indicating stability of a reference voltage generated by an associated reference voltage generator; at least one clock status signal indicating stability of an associated clock signal; as well as At least one regulator status signal indicating that a regulated voltage generated by an associated voltage regulator is within a desired threshold.

18. The method of claim 14, wherein the one or more test pins include an under-voltage lockout pin and the internal circuit is an under-voltage lockout circuit configured to determine whether a supply voltage for the IC has dropped below a lower threshold.

19. The method of claim 14, wherein the one or more test pins include an overvoltage lockout pin and the internal circuit is an overvoltage lockout circuit configured to determine whether a supply voltage for the IC has risen above an upper threshold.

20. The method according to claim 14, The states of the plurality of signals based on which the POR signal is generated are determined in the following manner: monitoring a plurality of status signals indicating states of the plurality of signals upon which generation of the POR signal is based; and wherein the resistance at the one or more test pins is changed based on the determined states of the plurality of signals by: A series of switches are operated based on the plurality of status signals to selectively connect one or more resistors in series between the one or more test pins and ground.