Semiconductor integrated circuit

By connecting external resistors and capacitors in parallel with the setting pins, and taking advantage of the CR circuit response characteristics, the problem of setting multiple parameters with a single setting pin in the semiconductor integrated circuit is solved, achieving efficient acquisition of parameters and improving packaging margin.

CN118738019APending Publication Date: 2024-10-01ROHM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410364987.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-30
Filing Date
2024-03-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In semiconductor integrated circuits, it is difficult to use a single setting pin to effectively set multiple parameters in the existing technology. Especially when there are multiple parameters that need to be set, the increase in the number of pins leads to the problem of insufficient packaging margin.

Method used

By connecting the external resistor and capacitor in parallel with the setting pin, and using the parameter acquisition circuit to set the first parameter and the second parameter according to the resistance value and capacitance value, the response characteristics of the CR circuit are used to obtain the required parameters.

Benefits of technology

It realizes the use of a single setting pin to set two independent parameters, which improves the margin and flexibility of the package and reduces the need for the number of pins.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118738019A_ABST
    Figure CN118738019A_ABST
Patent Text Reader

Abstract

The present disclosure addresses the problem of providing a semiconductor integrated circuit in which two parameters can be set using one setting pin. The semiconductor integrated circuit includes a setting pin. An external resistor and an external capacitor are connected in parallel between the setting pin and an external fixed voltage line. The parameter acquisition circuit is connected to the setting pin and acquires a first parameter and a second parameter defined by a resistance value of the external resistor and a capacitance value of the external capacitor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a semiconductor integrated circuit. Background Art

[0002] The industry wants to set parameters such as the operation mode, state, and response speed of the semiconductor integrated circuit (hereinafter collectively referred to as parameters) from the outside of the semiconductor integrated circuit. This is easy to set using interfaces such as UART (Universal Asynchronous Receiver / Transmitter) and I2C, but an interface corresponding to UART or I2C must be prepared outside the semiconductor integrated circuit that is the object of control, and this may be difficult to use depending on the application.

[0003] As a method not using an interface such as UART or I2C, there is a method in which a pin for setting (referred to as a setting pin) is provided in a semiconductor integrated circuit and the setting can be changed according to the electrical state of the setting pin.

[0004] For example, a voltage corresponding to a set value is applied to the setting pin. The semiconductor integrated circuit measures the voltage value and changes the set value. Alternatively, an external resistor having a resistance value corresponding to the set value is connected to the setting pin. The semiconductor integrated circuit measures the resistance value and changes the set value according to the measured resistance value.

[0005] In the method using setting pins, only one parameter is set for each setting pin. Therefore, if there are multiple parameters to be set, the number of parameters will increase according to the number of setting pins. Depending on the type of package, there may be no margin for increasing the number of pins.

[0006] [Prior art literature]

[0007] [Patent Document]

[0008] [Patent Document 1] Japanese Patent Application Publication No. 2013-271022 Summary of the invention

[0009] [Problems to be solved by the invention]

[0010] The present disclosure is made in view of the above-mentioned problems, and one of the exemplary purposes of a certain form thereof is to provide a semiconductor integrated circuit capable of setting two parameters using one setting pin.

[0011] [Technical means to solve the problem]

[0012] A certain form of semiconductor integrated circuit disclosed in the present invention comprises: a setting pin, between which an external resistor and an external capacitor are connected in parallel, and an external parameter acquisition circuit, which is connected to the setting pin and acquires a first parameter and a second parameter defined by the resistance value of the external resistor and the capacitance value of the external capacitor.

[0013] In addition, the contents formed by arbitrarily combining the above constituent elements, and the contents formed by mutually replacing constituent elements or expressions between methods, devices, systems, etc. are also valid as the present invention or the form of the present disclosure. Furthermore, the record of this item (technical means for solving the problem) does not describe all the indispensable features of the present invention, and therefore, the deformation of these recorded features also belongs to the present invention.

[0014] [Effects of the Invention]

[0015] According to one aspect of the present disclosure, two parameters can be set using a single setting pin. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a circuit diagram of a semiconductor integrated circuit according to an embodiment.

[0017] Figure 2 is a circuit diagram of the parameter acquisition circuit of Example 1.

[0018] Figure 3 yes Figure 2 The action waveform diagram of the parameter acquisition circuit.

[0019] Figure 4 This is a circuit diagram showing a configuration example of a measurement circuit.

[0020] Figure 5 This is a circuit diagram showing another configuration example of the measurement circuit.

[0021] Figure 6 is a circuit diagram of a parameter acquisition circuit according to an embodiment.

[0022] Figure 7 Yes Description Figure 6 The parameters of the circuit are obtained by plotting its operation.

[0023] Figure 8 Yes means Figure 7 A circuit diagram showing an example of the configuration of a measurement circuit. DETAILED DESCRIPTION

[0024] (Overview of Embodiments)

[0025] An overview of several exemplary embodiments of the present disclosure will be described. This overview serves as an introduction to the following detailed description. In order to enable a basic understanding of the embodiments, several concepts of one or more embodiments are simplified and described, and the scope of the invention or the disclosure is not limited. This overview is not a comprehensive overview of all conceivable embodiments, is not intended to specify the important elements of all embodiments, and is not intended to define the scope of some or all forms. For convenience, "one embodiment" sometimes refers to one embodiment (embodiment or variation) or multiple embodiments (embodiment or variation) disclosed in this specification.

[0026] A semiconductor integrated circuit of one embodiment comprises: a setting pin, between which an external resistor and an external capacitor are connected in parallel, and a parameter acquisition circuit, which is connected to the setting pin and acquires a first parameter and a second parameter defined by a resistance value of the external resistor and a capacitance value of the external capacitor.

[0027] The external resistor and the external capacitor form a CR circuit. The CR circuit is electrically acted upon and its response is measured. Since the response is related to the resistance value R of the external resistor and the capacitance value C of the external capacitor, the first parameter and the second parameter can be set according to the measured response. In addition, the so-called fixed voltage line refers to a voltage line that generates a known voltage, such as a ground line or a power line, which is a line that is considered to have sufficiently low impedance.

[0028] In one embodiment, the parameter acquisition circuit may include: a current source that supplies current to the setting pin; and a measurement circuit that acquires the first parameter and the second parameter based on a waveform of a voltage generated at the setting pin.

[0029] The combined impedance Z of the external resistor and the external capacitor is

[0030] Z=R / (1+jωCR)…(1)

[0031] Get.

[0032] If a known current I is supplied to the composite impedance Z, the voltage V is measured to be V=I×Z. Therefore, information related to the impedance Z can be obtained from the known current I and the measured voltage V. If the conditions are changed and the measurement is performed, R and C can be obtained.

[0033] In one embodiment, the current may also be a DC constant current I DC . Supply a constant current I to the CR circuit DC When the measured voltage V becomes

[0034] V=(1-exp(-t / CR))×R×I DC…(2).

[0035] Therefore, the first parameter and the second parameter corresponding to R and C can be acquired based on the voltage response.

[0036] In one embodiment, the measurement circuit may also obtain the first parameter based on the peak level (maximum value) of the voltage generated at the setting pin. If t=∞ is substituted into equation (2), the peak level V of the voltage at the setting pin is MAX become

[0037] V MAX =V(∞)=I DC ×R…(3),

[0038] It is proportional to the resistance value R. Therefore, it is possible to MAX To get the first parameter.

[0039] In one embodiment, the measurement circuit can also obtain the second parameter based on the time until the voltage generated in the setting pin reaches the threshold value obtained by multiplying the peak level thereof by a predetermined coefficient. For example, the predetermined coefficient can be set to 1 / e, in which case the time until the threshold value is reached is CR. Therefore, by using the already obtained R, the second parameter associated with C can be obtained.

[0040] In one embodiment, the determination circuit may also include a plurality of comparators and decoder circuits for comparing the voltage generated at the setting pin with different thresholds.

[0041] In one embodiment, the measurement circuit may include an A / D converter and a digital processing circuit for processing the output of the A / D converter. In addition, the digital processing circuit is not limited to a processor capable of executing a software program, and may be hardware logic (wired logic).

[0042] In one embodiment, the current may also be an alternating current of a single frequency. AC =I·sinωt, then it becomes

[0043] V=Z×I AC =R / (1+jωCR)×I·sinωt…(4).

[0044] Based on the known current I AC And the measured voltage V, to obtain R and C.

[0045] In one embodiment, the measurement circuit may acquire the first parameter based on the amplitude of a voltage generated at the setting pin.

[0046] In one embodiment, the measurement circuit may obtain the second parameter based on a phase difference between a voltage and a current generated in the setting pin.

[0047] In one embodiment, the measurement circuit may include an A / D converter and a digital processing circuit that processes an output of the A / D converter.

[0048] (Implementation Method)

[0049] Hereinafter, preferred embodiments will be described with reference to the accompanying drawings. The same or equivalent components, parts, and processes shown in the respective drawings are marked with the same symbols, and repeated descriptions are appropriately omitted. In addition, the embodiments do not limit the disclosed content and the invention but are exemplified, and all features or combinations thereof described in the embodiments are not necessarily limited to the essential contents of the disclosed content and the invention.

[0050] In this specification, the so-called "the state in which component A is connected to component B" also includes the situation in which component A and component B are directly physically connected, or the situation in which component A and component B are indirectly connected via other components that do not substantially affect their electrical connection state or do not impair the function or effect brought about by their combination.

[0051] Similarly, the so-called "state in which component C is arranged between component A and component B", in addition to the situation in which component A and component C, or component B and component C are directly connected, also includes the situation in which they are indirectly connected via other components that do not have a substantial impact on their electrical connection state or do not impair the function or effect brought about by their combination.

[0052] (Implementation Method)

[0053] Figure 1 1 is a circuit diagram of a semiconductor integrated circuit 100 according to an embodiment. The semiconductor integrated circuit 100 includes a setting pin SET, a parameter acquisition circuit 200, and an internal circuit 300. The setting pin SET is provided to set parameters such as an operation condition and an operation mode of the internal circuit 300 of the semiconductor integrated circuit 100 from the outside. The configuration, function, type, etc. of the internal circuit 300 are not particularly limited. An external resistor R1 and an external capacitor C1 are connected in parallel between the setting pin SET and the fixed voltage line 2. The fixed voltage line 2 is, for example, a ground line.

[0054] The parameter acquisition circuit 200 is connected to the setting pin SET, and acquires a first parameter PARAM1 and a second parameter PARAM2 defined by a resistance value R of the external resistor R1 and a capacitance value C of the external capacitor C1 .

[0055] The resistance value R may correspond to the first parameter PARAM1 in a one-to-one manner, and the capacitance value C may correspond to the second parameter PARAM2 in a one-to-one manner.

[0056] That is, it can also satisfy

[0057] PARAM1=f(R)

[0058] PARAM2=g(C)

[0059] f() and g() are arbitrary functions or images.

[0060] Alternatively, a combination of the resistance value R and the capacitance value C may also define the first parameter PARAM1 and the second parameter PARAM2, respectively.

[0061] PARAM1=f(R,C)

[0062] PARAM2 = g(R, C)

[0063] f, g are functions or graphs of two variables.

[0064] The above is the structure of the semiconductor integrated circuit 100. Next, the external resistor R1 and the external capacitor C1 form a CR circuit 4. The parameter acquisition circuit 200 acts electrically on the CR circuit 4 to measure its response. Since the response is related to the resistance value R of the external resistor R1 and the capacitance value C of the external capacitor C1, the first parameter PARAM1 and the second parameter PARAM2 can be set according to the measured response.

[0065] Specifically, the synthetic impedance of CR circuit 4 is given by

[0066] Z=R / (1+jωCR)…(1) Therefore, if a current signal is applied to the synthetic impedance Z and the response of the voltage signal is measured, information related to the impedance Z can be obtained, and R and C can be measured. Alternatively, information related to the impedance Z can be obtained by applying a voltage signal and measuring the response of the current signal.

[0067] The above is the operation of the semiconductor integrated circuit 100. According to the semiconductor integrated circuit 100, two independent parameters PARAM1 and PARAM2 can be set by using a single setting pin SET.

[0068] The present invention is as Figure 1 The present invention is not limited to a specific structure. The following is not intended to narrow the scope of the present invention, but to help understand the essence or operation of the invention and make them clear, and to describe more specific structure examples or embodiments.

[0069] (Example 1)

[0070] Figure 22 is a circuit diagram of a parameter acquisition circuit 200A according to Example 1. The parameter acquisition circuit 200A includes a current source 210A, a switch SW1, and a measurement circuit 220A.

[0071] The current source 210A is connected to the setting pin SET and generates a DC constant current I DC The measurement circuit 220A sets the voltage V generated at the setting pin SET. SET waveform to obtain the first parameter PARAM1 and the second parameter PARAM2.

[0072] The switch SW1 is used to set the voltage V SET Initialization is set, and the measured voltage V SET In addition, when the current source 210A can be switched on and off, in the off state of the current source 210A, the capacitor C1 releases the charge due to the external resistor R1, so that the voltage V SET Therefore, by modifying the measurement sequence, the switch SW1 can be omitted. Alternatively, when the current source 210A is configured to be able to source and sink current, the voltage V can be increased by sinking current using the current source 210A. SET Reset to 0V, in which case switch SW1 can also be omitted.

[0073] The DC current I DC The current amount is set to I. If the switch SW1 is switched from on to off, a step-shaped DC current I is applied to the CR circuit 4. DC , the step response voltage V of CR circuit 4 appears at the setting pin SET SET The voltage V SET It is expressed by formula (2).

[0074] V SET =(1-exp(-t / CR))×R×I DC …(2)

[0075] Therefore, the voltage V is measured by the measuring circuit 220A. SET , the resistance value R and the capacitance value C can be measured, and the parameters PARAM1 and PARAM2 can be obtained.

[0076] Figure 3 yes Figure 2 The peak voltage level V of the setting pin is MAX It can be obtained by substituting t=∞ into equation (2) to become

[0077] V MAX =V(∞)=IDC ×R…(3).

[0078] Therefore, the measuring circuit 220 sets the voltage V generated at the setting pin SET. SET The peak level V MAX To get the first parameter PARAM1.

[0079] In addition, the measuring circuit 220 sets the voltage V generated at the setting pin SET. SET reaches its peak level V MAX The threshold V obtained by multiplying the specified coefficient α TH The second parameter PARAM2 is obtained by the time until the end.

[0080] V TH =α×V MAX

[0081] For example, α=(1-1 / e) can be used. In this case, the voltage V is set SET Reaching the threshold V TH The time τ until τ becomes τ=CR. Therefore, by dividing the measured time τ by the already determined resistance value R, the capacitance value C can be obtained. Alternatively, the measured time constant CR may be set as the second parameter PARAM2.

[0082] Next, a specific configuration example of the measurement circuit 220 will be described.

[0083] Figure 4 2 is a circuit diagram showing a configuration example of the measurement circuit 220A. The measurement circuit 220A includes a plurality of n comparators COMP1 to COMPn and a decoder circuit 222. The first parameter PARAM1 can be set from n+1 values.

[0084] Multiple comparators COMP1~COMPn set the voltage V of the pin SET SET The decoder circuit 222 monitors the output signals S1 to Sn of the plurality of comparators COMP1 to COMPn and detects their values ​​(1, 0) and the timing of changes in each value.

[0085] After the switch SW1 is turned off, after a sufficient time has passed, S1 to Sj=1, Sj+1 to Sn=0. In this case, the voltage V of the setting pin SET is obtained. SET The maximum value V MAX Vthj<V MAX <Vthj+1. Therefore, the value of the first parameter PARAM1 is obtained as j. In addition, the resistance value R is calculated as R=Vthj / I.

[0086] Next, the kth threshold voltage Vthk among the threshold voltages Vth1 to Vthn is made closest to the maximum value V MAX The voltage level obtained by multiplying the coefficient α. In this case, the timing τ when the output Sk of the comparator COMPk changes corresponds to the time constant CR. By dividing the timing τ by the resistance value R, the capacitance value C can be obtained.

[0087] Furthermore, the measuring circuit 220A does not need to calculate the resistance value R and the capacitance value C, and only needs to perform the minimum processing required to specify the first parameter PARAM1 and the second parameter PARAM2.

[0088] Figure 5 2 is a circuit diagram showing another configuration example of the measurement circuit 220A. The measurement circuit 220A includes an A / D converter 224 and a digital processing circuit 226. The A / D converter 224 converts the voltage V of the setting pin SET to SET The output of the A / D converter 224 becomes the voltage V of the setting pin SET. SET The digital processing circuit 226 calculates the resistance value R and the capacitance value C by processing the waveform data WAVE, and specifies the first parameter PARAM1 and the second parameter PARAM2.

[0089] (Implementation Method 2)

[0090] Figure 6 2 is a circuit diagram of a parameter acquisition circuit 200B according to an embodiment. The parameter acquisition circuit 200B includes a current source 210B, a switch SW1, and a measurement circuit 220B. As in the first embodiment, the measurement circuit 220B generates a voltage V SET waveform to obtain the first parameter PARAM1 and the second parameter PARAM2.

[0091] Figure 7 Yes Figure 6 A diagram for explaining the operation of the parameter acquisition circuit 200B.

[0092] The current source 210B is connected to the setting pin SET to generate an AC current I AC , applied to the CR circuit 4. The AC current I AC A sine wave including a single frequency ω may also be used.

[0093] I AC =I·sinωt…(4)

[0094] AC current I AC As a result of the action on the CR circuit 4, a voltage response V is given according to the following equation (5):SET .

[0095] V SET =Z×I·sinωt…(5)

[0096] Voltage response V SET is a sinusoidal signal, expressed by equation (6).

[0097] V SET =V·sin(ωt+θ)…(6)

[0098] The measurement circuit 220B measures the voltage amplitude V and the phase difference θ. The measurement circuit 220B may also measure the voltage V SET The amplitude V is divided by the current amplitude I to calculate the impedance Z |Z|.

[0099] |Z|=V / I

[0100] The magnitude of impedance Z |Z| is

[0101] |Z|=1 / √(R -2 +ω 2 C 2 )…(7).

[0102] In addition, the phase difference θ is given according to equation (8).

[0103] θ=arctan(-ωCR)…(8)

[0104] The measurement circuit 220B may obtain the first parameter PARAM1 based on |Z| and obtain the second parameter PARAM2 based on θ.

[0105] Alternatively, the resistance value R and the capacitance value C may be calculated according to equations (7) and (8), and the first parameter PARAM1 may be obtained according to the resistance value R, and the second parameter PARAM2 may be obtained according to the capacitance value C.

[0106] Figure 8 Yes means Figure 7 The measurement circuit 220B includes an A / D converter 228 and a digital processing circuit 230.

[0107] The A / D converter 228 sets the voltage V SET Converted into digital signal D SET .

[0108] The digital processing circuit 230 includes a waveform generator 232 , a high-pass filter 234 , multipliers 236 , 238 , low-pass filters 240 , 242 , and calculation units 244 , 246 .

[0109] The waveform generator 232 generates the waveform data of the sine wave sinωt. The current source 210B is a current DAC, which changes the waveform data of the sine wave sinωt into a current signal I AC In addition, the current signal I AC It can also contain a DC bias component I DC , in this case, can be expressed as

[0110] I AC =I DC +I·sinωt.

[0111] The high-pass filter 234 removes frequency components other than the frequency ω from the digital signal D SET The output of the high pass filter 234 represents V·sin(ωt+θ).

[0112] The waveform generator 232 outputs waveform data of the cosine wave cos ωt in addition to the waveform data of the sine wave sin ωt.

[0113] The multiplier 236 multiplies the output I·sin(ωt+θ) of the high-pass filter 234 by the sine wave sinωt. The output a of the low-pass filter 240 represents

[0114] a=|Z| / 2·cosθ.

[0115] The multiplier 238 multiplies the output I·sin(ωt+θ) of the high-pass filter 234 by the cosine wave cosωt. The output b of the low-pass filter 242 represents

[0116] b=|Z| / 2·sinθ.

[0117] The calculation unit 244 calculates

[0118] |Z| / 2=√(a 2 +b 2 ).

[0119] The operator 246 calculates

[0120] θ = arctan(a / b).

[0121] The subsequent processing circuit can specify the parameters PARAM1 and PARAM2 based on |Z| and θ.

[0122] It should be understood by those skilled in the art that the embodiments are merely illustrative and that there are various variations of the combinations of their constituent elements or processing steps, and that such variations are also included in the scope of the disclosure or the present invention.

[0123] (Variation 1)

[0124] In the embodiment, the fixed voltage line 2 is described as a ground line, but a power line may be used as a fixed voltage line. In this case, the parameter acquisition circuit 200 may be configured upside down from the circuit described in the embodiment.

[0125] (Variation 2)

[0126] exist Figure 6 In the parameter acquisition circuit 200B, when the current I AC When a DC bias component is included, the measurement circuit 220B may also obtain the voltage signal V using a low-pass filter. SET The DC component of the resistor is obtained based on the DC component.

[0127] (Note)

[0128] The technology disclosed in this specification can be grasped as follows.

[0129] (Item 1)

[0130] A semiconductor integrated circuit comprising:

[0131] An external resistor and an external capacitor should be connected in parallel between the setting pin and the external fixed voltage line; and

[0132] The parameter acquisition circuit is connected to the setting pin and acquires a first parameter and a second parameter defined by a resistance value of the external resistor and a capacitance value of the external capacitor.

[0133] (Item 2)

[0134] The semiconductor integrated circuit according to item 1, wherein the parameter acquisition unit comprises:

[0135] a current source for supplying current to the setting pin; and

[0136] The measuring circuit acquires the first parameter and the second parameter based on the waveform of the voltage generated at the setting pin.

[0137] (Item 3)

[0138] According to the semiconductor integrated circuit described in item 2, the current is a direct current constant current.

[0139] (Item 4)

[0140] The semiconductor integrated circuit according to item 3, wherein the measuring circuit acquires the first parameter based on a peak level of a voltage generated at the setting pin.

[0141] (Item 5)

[0142] The semiconductor integrated circuit according to item 3 or 4, wherein the measuring circuit obtains the second parameter based on the time taken for the voltage generated at the setting pin to reach a threshold value obtained by multiplying its peak level by a predetermined coefficient.

[0143] (Item 6)

[0144] The semiconductor integrated circuit according to any one of items 3 to 5, wherein the measuring circuit comprises:

[0145] a plurality of comparators for comparing the voltage generated in the setting pin with different thresholds; and

[0146] The decoder circuit processes the outputs of the plurality of comparators.

[0147] (Item 7)

[0148] The semiconductor integrated circuit according to any one of items 3 to 5, wherein the measuring circuit comprises:

[0149] A / D converter; and

[0150] The digital processing circuit processes the output of the A / D converter.

[0151] (Item 8)

[0152] The semiconductor integrated circuit according to item 2, wherein the current is an alternating current of a single frequency.

[0153] (Item 9)

[0154] The semiconductor integrated circuit according to item 8, wherein the measuring circuit acquires the first parameter based on the amplitude of the voltage generated at the setting pin.

[0155] (Item 10)

[0156] The semiconductor integrated circuit according to item 8 or 9, wherein the measuring circuit obtains the second parameter based on a phase difference between a voltage generated at the setting pin and the current.

[0157] (Item 11)

[0158] The semiconductor integrated circuit according to any one of items 8 to 10, wherein the measuring circuit comprises:

[0159] A / D converter; and

[0160] The digital processing circuit processes the output of the A / D converter.

[0161] [Explanation of Symbols]

[0162] 100: Semiconductor integrated circuits

[0163] 200: Parameter acquisition circuit

[0164] SET: Set pin

[0165] GND: Ground pin

[0166] R1: External resistor

[0167] C1: External capacitor

[0168] SW1: Switch

[0169] PARAM1: Parameter 1

[0170] PARAM2: Parameter 2

[0171] 210: Current Source

[0172] 220: Measurement circuit

[0173] 210A, 210B: Current source

[0174] 230: Waveform Generator

[0175] 228: A / D Converter

[0176] 234: High pass filter

[0177] 236, 238: Multiplier

[0178] 240, 242: Low pass filter

[0179] 244, 246: operation unit.

Claims

1. A semiconductor integrated circuit comprising: An external resistor and an external capacitor should be connected in parallel between the setting pin and the external fixed voltage line; and The parameter acquisition circuit is connected to the setting pin and acquires a first parameter and a second parameter defined by a resistance value of the external resistor and a capacitance value of the external capacitor.

2. The semiconductor integrated circuit according to claim 1, wherein the parameter acquisition section comprises: a current source for supplying current to the setting pin; and The measuring circuit acquires the first parameter and the second parameter based on the waveform of the voltage generated at the setting pin.

3. The semiconductor integrated circuit according to claim 2, wherein the current is a direct current constant current. 4 . The semiconductor integrated circuit according to claim 3 , wherein the measurement circuit acquires the first parameter based on a peak level of a voltage generated at the setting pin.

5. The semiconductor integrated circuit according to claim 3 or 4, wherein the measuring circuit acquires the second parameter based on the time taken for the voltage generated at the setting pin to reach a threshold value obtained by multiplying its peak level by a predetermined coefficient.

6. The semiconductor integrated circuit according to any one of claims 3 to 5, wherein the determination circuit comprises: a plurality of comparators for comparing the voltage generated in the setting pin with different thresholds; and The decoder circuit processes the outputs of the plurality of comparators.

7. The semiconductor integrated circuit according to any one of claims 3 to 5, wherein the determination circuit comprises: A / D converter; and The digital processing circuit processes the output of the A / D converter.

8. The semiconductor integrated circuit according to claim 2, wherein the current is an alternating current of a single frequency. 9 . The semiconductor integrated circuit according to claim 8 , wherein the measurement circuit acquires the first parameter based on an amplitude of a voltage generated at the setting pin. 10 . The semiconductor integrated circuit according to claim 8 , wherein the measuring circuit acquires the second parameter based on a phase difference between a voltage generated at the setting pin and the current.

11. The semiconductor integrated circuit according to any one of claims 8 to 10, wherein the determination circuit comprises: A / D converter; and The digital processing circuit processes the output of the A / D converter.