Integrated chip and electronic device

By introducing a switching circuit into the integrated chip, the switching between the voltage regulator circuit and the input/output circuit is realized, solving the problem that the output voltage pins of the low dropout linear regulator circuit cannot be shared, and improving the multifunctionality and resource utilization of the integrated chip ports.

CN223664959UActive Publication Date: 2025-12-12北杉集成电路(深圳)有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202520077527.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-12-12
Estimated Expiration
2035-01-13

AI Technical Summary

Technical Problem

The output voltage pin of a low-dropout linear regulator circuit designed on an integrated chip cannot be shared with the pins of input or output general-purpose signals, resulting in a waste of pin resources.

Method used

By introducing a switching circuit into the integrated chip, the voltage regulator circuit or input/output circuit can be selectively connected according to the switching signal, so that the port of the integrated chip can output a regulated voltage or a general input/output signal, thus realizing port multiplexing.

Benefits of technology

It increases the versatility of the integrated chip port, makes reasonable use of pin resources, and avoids resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223664959U_ABST
    Figure CN223664959U_ABST
Patent Text Reader

Abstract

The utility model discloses an integrated chip and electronic equipment. The integrated chip comprises a voltage stabilizing circuit, an input and output circuit, a switching circuit and a first port. The voltage stabilizing circuit can output a stabilized voltage, the input and output circuit can input or output a general signal, and the switching circuit is used for acquiring a switching signal and selectively electrically connecting the voltage stabilizing circuit or the input and output circuit according to the switching signal, so that the first port is used for outputting the stabilized voltage or inputting or outputting the general signal. In this way, the voltage stabilizing circuit or the input and output circuit is selectively connected through the switching circuit, so that the first port can output the stabilized voltage according to the use requirement or input or output the universal signal according to the use requirement. The first port can be multiplexed, the multifunctionality of the first port is increased, and the port resources of the integrated chip are reasonably utilized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of integrated chip technology, and in particular to an integrated chip and electronic device. Background Technology

[0002] Integrated circuits include low dropout voltage (LDO) circuits to achieve regulated voltage output. However, the output voltage pins of the LDO circuits designed on integrated circuits cannot be shared with the pins of general purpose input / output (GPIO) signals; they must be separated into two different sets of pins. This severely limits the use of general purpose pins and wastes pin resources. Utility Model Content

[0003] Embodiments of this application provide an integrated chip and an electronic device.

[0004] The integrated chip in this application includes a voltage regulator circuit, an input / output circuit, a switching circuit, and a first port. The voltage regulator circuit is capable of outputting a regulated voltage, the input / output circuit is capable of inputting or outputting a general-purpose signal, and the switching circuit is used to acquire a switching signal and select the electrical connection between the voltage regulator circuit or the input / output circuit according to the switching signal, so that the first port is used to output a regulated voltage or to input or output a general-purpose signal.

[0005] In some embodiments, the voltage regulator circuit includes an error amplifier, a voltage divider element, and a first adjustment transistor. When the switching signal is the first switching signal, the switching circuit switches the voltage regulator circuit to be connected to the first port. The first port is used to output the regulated voltage. The regulated voltage generates a feedback voltage after passing through the voltage divider element. The error amplifier is used to obtain a reference voltage and generate a voltage difference based on the reference voltage and the feedback voltage. The first adjustment transistor is used to adjust its conduction level according to the voltage difference to obtain a regulated voltage with an output voltage value of the target voltage.

[0006] In some embodiments, the integrated chip further includes a bandgap reference circuit for generating the reference voltage.

[0007] In some embodiments, the voltage regulator circuit further includes an on / off switch connected to the voltage divider element, which is disconnected when the input / output circuit is operating.

[0008] In some embodiments, the input / output circuit includes a first adjusting transistor, a second adjusting transistor, and a first control circuit. When the switching signal is the second switching signal, the switching circuit switches the input / output circuit to be connected to the first port. The first port is used to input or output a general-purpose signal. The output general-purpose signal includes a low-level output general-purpose signal and a high-level output general-purpose signal. When the first adjusting transistor is in the on state and the second adjusting transistor is in the off state, the first port is used to output the high-level output general-purpose signal. When the first adjusting transistor is in the off state and the second adjusting transistor is in the on state, the first port is used to output the low-level output general-purpose signal. When the first adjusting transistor is in the off state and the second adjusting transistor is in the off state, the first port is used to input a general-purpose input signal, which is transmitted to the first control circuit.

[0009] In some embodiments, the integrated chip includes a second port, a second control circuit, and a third adjustment transistor. When the switching signal is a first switching signal, the switching circuit switches the voltage regulator circuit to be connected to the first port. The first port is used to output the regulated voltage. The second control circuit is used to adjust the conduction state of the third adjustment transistor according to the regulated voltage so that the second port outputs the regulated voltage.

[0010] In some embodiments, the integrated chip includes a second port and a first regulation circuit. The first regulation circuit includes a first switching circuit and a fourth adjustment transistor. The fourth adjustment transistor is used to connect to the input voltage. The first switching circuit is used to control the conduction state of the fourth adjustment transistor. When the fourth adjustment transistor is on, the second port is used to output a high-level output general signal.

[0011] In some embodiments, the integrated chip includes a second port and a second adjustment circuit. The second adjustment circuit includes a second switching circuit and a fifth adjustment transistor. The fifth adjustment transistor is grounded. The second switching circuit is used to control the conduction of the fifth adjustment transistor. When the fifth adjustment transistor is on, the second port is used to output a low-level general-purpose signal.

[0012] In some embodiments, the integrated chip includes a second control circuit, a second port, an inverter, and a voltage selection circuit. The second port is used to input a general-purpose input signal. The voltage selection circuit is used to connect the regulated voltage or power supply voltage to power the inverter. The inverter is used to transmit the general-purpose input signal input from the second port to the second control circuit.

[0013] The electronic device according to the embodiments of this application includes a housing and an integrated chip as described in any of the above claims, the integrated chip being disposed on the housing.

[0014] The integrated chip and electronic device of this application selects between a voltage regulator circuit and an input / output circuit via a switching circuit, enabling the first port to output a regulated voltage or input / output a general-purpose signal as needed. This allows for multiplexing of the first port, increasing its versatility and making efficient use of the integrated chip's port resources.

[0015] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0016] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:

[0017] Figure 1 This is a schematic diagram of an integrated chip module according to certain embodiments of this application;

[0018] Figure 2 This is a circuit diagram of an integrated chip according to certain embodiments of this application;

[0019] Figure 3 This is a schematic diagram of the related technology of the integrated chip in some embodiments of this application;

[0020] Figure 4 This is a schematic diagram of an integrated chip according to certain embodiments of this application;

[0021] Figure 5 This is a circuit diagram of an integrated chip according to certain embodiments of this application. Detailed Implementation

[0022] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0023] Please refer to the following: Figure 1 and Figure 2The integrated chip 100 of this application includes a voltage regulator circuit 10, an input / output circuit 20, a switching circuit 30, and a first port 40. The voltage regulator circuit 10 is capable of outputting a regulated voltage, and the input / output circuit 20 is capable of inputting or outputting a general-purpose signal. The switching circuit 30 is used to acquire a switching signal and select the electrical connection between the voltage regulator circuit 10 and the input / output circuit 20 according to the switching signal, so that the first port 40 is used to output a regulated voltage or to input or output a general-purpose signal.

[0024] The integrated chip 100 in this embodiment selects to connect to either the voltage regulator circuit 10 or the input / output circuit 20 via the switching circuit 30, so that the first port 40 can output a regulated voltage or input / output a general signal as needed. This allows for multiplexing of the first port 40, increasing its versatility and making efficient use of the port resources of the integrated chip 100.

[0025] Specifically, the voltage regulator circuit 10 includes a low dropout voltage (LDO) circuit, which outputs a regulated voltage. The voltage regulator circuit 10 can be understood as a power management circuit; it converts unstable voltage into a more stable output voltage, which is then output through the first port 40 for use by subsequent circuits. The low dropout voltage regulator circuit has advantages such as high stability, low cost, and long lifespan. The input / output circuit 20 can be understood as a GPIO (General Purpose Input Output) circuit. GPIO circuits are used to input or output general-purpose signals, and the ports used for inputting or outputting general-purpose signals are often simply referred to as "IO ports." However, as... Figure 3 As shown, the regulated voltage output by the low-dropout linear regulator circuit inside the integrated chip in the related technology needs to use a separate port and cannot be shared with other functional GPIO ports, thus wasting the port resources of the integrated chip. Figure 3 Figures (a) and (b) are included. Figure (a) includes the “V33O” port, which is a GPIO port. Figure (b) includes the “VDDIO” port, which is the output port of the low dropout linear regulator circuit.

[0026] Please see Figure 4 The integrated chip 100 of this application includes a target port 40, which is a "VDDIO / PB2" port. The "VDDIO / PB2" port can be used as a GPIO port and can also be switched as the output voltage port of a low dropout linear regulator circuit. In this way, the target port 40 can be reused, increasing the multifunctionality of the target port 40 and making reasonable use of the port resources of the integrated chip 100.

[0027] It is worth mentioning that the integrated chip 100 includes a switching circuit 30. The switching circuit 30 can acquire a switching signal, thus enabling it to selectively connect to either the voltage regulator circuit 10 or the input / output circuit 20 based on the switching signal. When the voltage regulator circuit 10 is connected to the first port 40, the first port 40 is used to output a regulated voltage. When the input / output circuit 20 is connected to the first port 40, the first port 40 is used to input or output a general-purpose signal. This allows for the multiplexing of the first port 40, avoiding waste of the integrated chip 100's port resources and increasing the versatility of the integrated chip 100's ports.

[0028] In one embodiment, the switching circuit 30 can switch according to a switching signal. When the switching signal is "1", the switching circuit 30 receives the switching signal and performs a switching action to connect the voltage regulator circuit 10 to the first port 40, which is used to output a regulated voltage. The regulated voltage can be a voltage between 0V and 3.3V, for example, a regulated voltage of 3.3V, a regulated voltage of 1.8V, a regulated voltage of 2V, etc., and can be customized according to user needs; no limitation is made here. When the switching signal is "0", the switching circuit 30 receives the switching signal and performs a switching action to connect the input / output circuit 20 to the first port 40, which is used to output a general-purpose signal, which can be a low-level signal or a high-level signal; no limitation is made here.

[0029] Please refer to it again. Figure 2 The voltage regulator circuit 10 includes an error amplifier 11, a voltage divider element 12, and a first adjustment transistor 13. When the switching signal is the first switching signal, the switching circuit 30 switches the voltage regulator circuit 10 to be connected to the first port 40, which is used to output the regulated voltage. The regulated voltage generates a feedback voltage after passing through the voltage divider element 12. The error amplifier 11 is used to obtain a reference voltage and generate a voltage difference based on the reference voltage and the feedback voltage. The first adjustment transistor 13 is used to adjust its conduction level according to the voltage difference to obtain a regulated voltage with an output voltage value equal to the target voltage.

[0030] Thus, through the error amplifier 11, the voltage divider element 12 and the first adjustment transistor 13, the voltage regulator circuit 10 can form a feedback loop, thereby ensuring that the stable output voltage value is the regulated voltage of the target voltage.

[0031] Specifically, when the first switching signal is "1", the switching circuit 30 is used to switch the connection between the voltage regulator circuit 10 and the first port 40 according to the first switching signal "1". The error amplifier 11 can generate a voltage difference based on the reference voltage and the feedback voltage, and can also amplify the voltage difference to improve sensitivity and adjustment accuracy. The voltage through the error amplifier 11 then passes through the first adjustment transistor 13, which can adjust its own conduction level to adjust the voltage magnitude. The voltage then passes through the voltage divider element 12 to form negative feedback, that is, a feedback voltage is generated after passing through the voltage divider element 12. When the voltage difference is 0V, the regulated voltage value is the target voltage. Thus, when the regulated voltage value is the target voltage, the first port 40 can output a stable target voltage, improving stability.

[0032] In one embodiment, the first port 40 can be pre-configured to output a regulated voltage, the regulated voltage being a target voltage of 3.3V. The switching circuit 30 switches the regulated circuit 10 to be connected to the first port 40 when the first switching signal is "1". After the regulated circuit 10 is connected, the error amplifier 11 can acquire a reference voltage of 1.2V and a feedback voltage. The error amplifier 11 generates a voltage difference based on the reference voltage of 1.2V and the feedback voltage, and then amplifies the voltage difference. The first adjusting transistor 13 can adjust its conduction level to amplify the regulated voltage value. When the voltage difference is 0V, the regulated voltage is the target voltage of 3.3V. Thus, the regulated circuit 10 can stably output a target voltage of 3.3V through the first port 40. It should be noted that the examples and specific values ​​described above are for illustrative purposes only and should not be construed as limiting the scope of protection of this application.

[0033] Please continue reading. Figure 2 In some embodiments, the integrated chip 100 further includes a bandgap reference circuit 50 for generating a reference voltage.

[0034] Thus, the reference voltage generated by the bandgap reference circuit 50 has high accuracy.

[0035] Specifically, the integrated chip 100 also includes a bandgap reference circuit 50 (BG), which has excellent stability and can be used to output a high-precision voltage reference. In one embodiment, the bandgap reference circuit 50 can generate a 1.2V reference voltage. The error amplifier 11 obtains the voltage difference based on the reference voltage and the feedback voltage. The first adjustment transistor 13 then adjusts its conduction level according to the voltage difference and amplifies the voltage so that the first port 40 outputs a target voltage of 3.3V. In another embodiment, the bandgap reference circuit 50 can generate a 1.8V reference voltage. The error amplifier 11 obtains the voltage difference based on the reference voltage and the feedback voltage. The first adjustment transistor 13 then adjusts its conduction level according to the voltage difference and amplifies the voltage so that the first port 40 outputs a stable 3.3V target voltage.

[0036] Please continue reading. Figure 2 In some embodiments, the voltage regulator circuit 10 further includes an on / off switch 14, which is connected to the voltage divider element 12. When the input / output circuit 20 is working, the on / off switch 14 is disconnected.

[0037] In this way, when the input / output circuit 20 is working, the on / off switch 14 can be turned off to save current.

[0038] Specifically, the on / off switch 14 has two states: open and closed. When the input / output circuit 20 is working, the on / off switch 14 is open, thus saving current; when the voltage regulator circuit 10 is working, the on / off switch 14 is closed, thus enabling the voltage regulator circuit 10 to work normally. The voltage divider element 12 can be a voltage divider resistor group or other elements that can achieve the voltage divider function, which is not limited here.

[0039] Please continue reading. Figure 2 In some embodiments, the input / output circuit 20 includes a first adjusting transistor 13, a second adjusting transistor 21, and a first control circuit 22. When the switching signal is the second switching signal, the switching circuit 30 switches the input / output circuit 20 to be connected to the first port 40. The first port 40 is used to input or output a general-purpose signal, including a low-level output general-purpose signal and a high-level output general-purpose signal. When the first adjusting transistor 13 is in the on state and the second adjusting transistor 21 is in the off state, the first port 40 is used to output a high-level output general-purpose signal. When the first adjusting transistor 13 is in the off state and the second adjusting transistor 21 is in the on state, the first port 40 is used to output a low-level output general-purpose signal. When the first adjusting transistor 13 is in the off state and the second adjusting transistor 21 is in the off state, the first port 40 is used to input a general-purpose input signal, which is transmitted to the first control circuit 22.

[0040] Thus, the integrated chip 100 can realize the push-pull output of the input / output circuit 20. That is to say, the first port 40 can be used to output a high-level general-purpose signal, the first port 40 can be used to output a low-level general-purpose signal, and the first port 40 can also be used to input a general-purpose input signal. This enables the first port 40 to be multifunctional.

[0041] Specifically, when the second switching signal is "0", the switching circuit 30 is used to switch the connection between the input / output circuit 20 and the first port 40 according to the second switching signal "0". The input / output circuit 20 can output a high-level general-purpose signal or output a low-level general-purpose signal. In some embodiments, the user can customize whether the input / output circuit 20 outputs a high-level general-purpose signal or a low-level general-purpose signal.

[0042] For example, the user can pre-configure the input / output circuit 20 to output a high-level general-purpose signal. When using the input / output circuit 20 to output a high-level general-purpose signal, the first adjusting transistor 13 is turned on when the level output control signal is low, the second adjusting transistor 21 is turned off when the level output control signal is low, and the first port 40 is used to output a high-level general-purpose signal.

[0043] The user can also pre-configure the input / output circuit 20 to output a low-level general-purpose signal. When using the input / output circuit 20 to output a low-level general-purpose signal, the first adjusting transistor 13 is cut off when the level output control signal is high, the second adjusting transistor 21 is turned on when the level output control signal is high, and the first port 40 is used to output a low-level general-purpose signal.

[0044] The user can also pre-configure the input / output circuit 20 for inputting general-purpose input signals. When using the input / output circuit 20 to input general-purpose input signals, the first adjusting transistor 13 is cut off when the level output control signal is high, the second adjusting transistor 21 is cut off when the level output control signal is low, the first port 40 is used to input general-purpose input signals, and the general-purpose input signals are transmitted to the first control circuit 22.

[0045] It is worth mentioning that the first regulating transistor 13 includes a PMOS (positive channel Metal Oxide Semiconductor). The first regulating transistor 13 can also be a PMOS-ESD (electro-static discharge, ESD) transistor, meaning that the first regulating transistor 13 can be a PMOS transistor with electrostatic protection. The second regulating transistor 21 includes an NMOS (negative channel Metal Oxide Semiconductor). The second regulating transistor 21 can also be an NMOS-ESD (electro-static discharge, ESD) transistor, meaning that the second regulating transistor 21 can be an NMOS transistor with electrostatic protection.

[0046] It is worth mentioning that the input / output circuit 20 includes a first control circuit 22. When the integrated chip 100 is used for inputting and outputting general-purpose signals, the first control circuit 22 can generate a first control voltage. The first control voltage can be used as the control voltage for outputting general-purpose signals. In one embodiment, the first port 40 can be PAD_1, and the first control circuit 22 can be the control circuit (PAD_1 control circuit) of the first port 40. The PAD_1 can be used to implement inputting or outputting general-purpose signals. When inputting a general-purpose input signal, the first adjusting transistor 13 and the second adjusting transistor 21 are disconnected, the general-purpose input signal (PAD_1IN) is read through PAD_1, and then the general-purpose input signal is transmitted to the first control circuit 22 (PAD_1 control circuit). When outputting a general-purpose signal, the switching circuit 30 switches the input / output circuit 20 to be connected to the first port 40. The first control circuit 22 (PAD_1 control circuit) of the first port 40 generates a 5V first control voltage. The 5V first control voltage can be used as the control voltage for outputting general-purpose signals (PAD_1OUTEN). Finally, the first port 40 is used to output a 0V-5V output general-purpose signal. It should be noted that the examples and specific figures mentioned above are for the purpose of illustrating the implementation of this application and should not be construed as limiting the scope of protection of this application.

[0047] Please see Figure 5 The integrated chip 100 includes a second port 60, a second control circuit 70, and a third adjustment transistor 71. When the switching signal is the first switching signal, the switching circuit 30 switches the voltage regulator circuit 10 to be connected to the first port 40. The first port 40 is used to output a regulated voltage. The second control circuit 70 is used to adjust the conduction of the third adjustment transistor 71 according to the regulated voltage so that the second port 60 outputs a regulated voltage.

[0048] Thus, the second port 60 can be used to output a regulated voltage, increasing the versatility of the second port 60.

[0049] Specifically, the second port 60 can be a port used for inputting or outputting general-purpose signals (i.e., an I / O port). When the switching signal is the first switching signal, the third adjusting transistor 71 is turned on, and the second port 60 can also output a regulated voltage, thus achieving multiplexing. The third adjusting transistor 71 can be a PMOS transistor or a PMOS-ESD transistor, which is not limited here. In one embodiment, when the switching signal is the first switching signal "1", the voltage regulator circuit 10 is connected to the first port 40, and the first port 40 can output a regulated voltage of 3.3V. The second control circuit 70 has logic functions and is used to adjust the third adjusting transistor 71 according to the regulated voltage of 3.3V, so that the third adjusting transistor 71 is turned on, and the second port 60 can also output a regulated voltage of 3.3V. Users can also customize the voltage value of the output regulated voltage. For example, if the voltage value of the regulated voltage output by the first port 40 is 3.3V, then the voltage value of the regulated voltage output by the second port 60 is also 3.3V. For example, if the regulated voltage output from the first port 40 is 2V, then the regulated voltage output from the second port 60 will also be 2V. Similarly, if the regulated voltage output from the first port 40 is 1.8V, then the regulated voltage output from the second port 60 will also be 1.8V. Users can customize these settings according to their needs; no limitations are specified here.

[0050] Please see Figure 5 The integrated chip 100 includes a second port 60 and a first adjustment circuit 80. The first adjustment circuit 80 includes a first switching circuit 81 and a fourth adjustment transistor 82. The fourth adjustment transistor 82 is used to connect to the input voltage. The first switching circuit 81 is used to control the conduction of the fourth adjustment transistor 82. When the fourth adjustment transistor 82 is on, the second port 60 is used to output a high-level general signal.

[0051] Thus, the second port 60 can be used to output a high-level general-purpose signal, increasing the versatility of the second port 60.

[0052] Specifically, the user can pre-configure the second port 60 to output a high-level general-purpose signal. When using the second port 60 to output a high-level general-purpose signal, the first switching circuit 81 obtains the control signal from the second control circuit 70, and the fourth adjusting transistor 82 is connected to the input voltage VDD. According to the control signal, the fourth adjusting transistor 82 is turned on when the level output control signal is high, and the second port 60 can output a high-level general-purpose signal.

[0053] Please see Figure 5 The integrated chip 100 includes a second port 60 and a second adjustment circuit 90. The second adjustment circuit 90 includes a second switching circuit 91 and a fifth adjustment transistor 92. The fifth adjustment transistor 92 is grounded. The second switching circuit 91 is used to control the conduction of the fifth adjustment transistor 92. When the fifth adjustment transistor 92 is on, the second port 60 is used to output a low-level general signal.

[0054] Thus, the second port 60 can be used to output a low-level general-purpose signal, increasing the versatility of the second port 60.

[0055] Specifically, the user can pre-configure the second port 60 to output a low-level general-purpose signal. When using the second port 60 to output a low-level general-purpose signal, the second switching circuit 91 obtains the control signal from the second control circuit 70, the fifth adjusting transistor 92 is grounded, and the fourth adjusting transistor 82 is turned on when the level output control signal is low, according to the control signal, so that the second port 60 can output a low-level general-purpose signal.

[0056] Please see Figure 5 The integrated chip 100 includes a second control circuit 70, a second port 60, an inverter 72, and a voltage selection circuit 73. The second port 60 is used to input a general-purpose input signal. The voltage selection circuit 73 is used to connect a regulated voltage or a power supply voltage to power the inverter 72. The inverter 72 is used to transmit the general-purpose input signal input from the second port 60 to the second control circuit 70.

[0057] Thus, the inverter 72 can transmit the general-purpose input signal input to the second port 60 to the second control circuit 70, increasing the versatility of the second port 60.

[0058] Specifically, the voltage selection circuit 73 can select to use either the regulated voltage or the power supply voltage (VDD) to power the inverter 72, and the general input signal is input through the second port 60, and then transmitted to the second control circuit 70 through the inverter.

[0059] This application discloses an electronic device, which includes a housing and an integrated chip 100, wherein the integrated chip 100 is disposed on the housing.

[0060] The electronic device of this application embodiment selects to connect to the voltage regulator circuit 10 or the input / output circuit 20 via the switching circuit 30, so that the first port 40 can output a regulated voltage or input / output a general signal according to usage requirements. This allows for multiplexing of the first port 40, increasing its versatility and making efficient use of the port resources of the integrated chip 100.

[0061] The electronic device described in this application can be a terminal device configured with the integrated chip 100. For example, the electronic device may include a smartphone, smartwatch, tablet computer, or other terminal device, which is not limited herein. In one embodiment, the electronic device may be a children's smart toy, which includes a housing and the integrated chip 100, with the integrated chip 100 installed inside the housing.

[0062] In this specification, the illustrative expressions of the terms used do not necessarily refer to the same embodiments or examples. Furthermore, those skilled in the art can combine and integrate the different embodiments or examples described herein, as well as the features of those different embodiments or examples, without contradiction.

[0063] Furthermore, the term "connection" should be interpreted broadly. For example, it can include fixed connections, detachable connections, or integral connections; it can include direct connections or indirect connections through an intermediate medium; and it can also include internal communication between two elements. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0064] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0065] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0066] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this application pertain.

[0067] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. An integrated chip, characterized in that, The integrated chip includes a voltage regulator circuit, an input / output circuit, a switching circuit, and a first port. The voltage regulator circuit can output a regulated voltage. The input / output circuit can input or output a general signal. The switching circuit is used to acquire a switching signal and select the voltage regulator circuit or the input / output circuit to be electrically connected according to the switching signal, so that the first port can be used to output a regulated voltage or to input or output a general signal.

2. The integrated chip according to claim 1, characterized in that, The voltage regulator circuit includes an error amplifier, a voltage divider element, and a first adjustment transistor. When the switching signal is the first switching signal, the switching circuit switches the voltage regulator circuit to be connected to the first port. The first port is used to output the regulated voltage. The regulated voltage generates a feedback voltage after passing through the voltage divider element. The error amplifier is used to obtain a reference voltage and generate a voltage difference based on the reference voltage and the feedback voltage. The first adjustment transistor is used to adjust its own conduction degree according to the voltage difference to obtain a regulated voltage with an output voltage value of the target voltage.

3. The integrated chip according to claim 2, characterized in that, The integrated chip also includes a bandgap reference circuit, which is used to generate the reference voltage.

4. The integrated chip according to claim 2, characterized in that, The voltage regulator circuit also includes an on / off switch connected to the voltage divider element. When the input / output circuit is working, the on / off switch is off.

5. The integrated chip according to claim 1, characterized in that, The input / output circuit includes a first adjustment transistor, a second adjustment transistor, and a first control circuit. When the switching signal is the second switching signal, the switching circuit switches the input / output circuit to be connected to the first port. The first port is used to input or output a general-purpose signal. The output general-purpose signal includes a low-level output general-purpose signal and a high-level output general-purpose signal. When the first adjusting transistor is in the on state and the second adjusting transistor is in the off state, the first port is used to output the high-level output general signal. When the first adjusting transistor is in the off state and the second adjusting transistor is in the on state, the first port is used to output the low-level output general signal. When the first adjusting transistor is in the off state and the second adjusting transistor is in the off state, the first port is used to input a general input signal, which is transmitted to the first control circuit.

6. The integrated chip according to claim 1, characterized in that, The integrated chip includes a second port, a second control circuit, and a third adjustment transistor. When the switching signal is the first switching signal, the switching circuit switches the voltage regulator circuit to be connected to the first port. The first port is used to output the regulated voltage. The second control circuit is used to adjust the conduction state of the third adjustment transistor according to the regulated voltage so that the second port outputs the regulated voltage.

7. The integrated chip according to claim 1, characterized in that, The integrated chip includes a second port and a first adjustment circuit. The first adjustment circuit includes a first switching circuit and a fourth adjustment transistor. The fourth adjustment transistor is used to connect to the input voltage. The first switching circuit is used to control the conduction state of the fourth adjustment transistor. When the fourth adjustment transistor is on, the second port is used to output a high-level general-purpose signal.

8. The integrated chip according to claim 1, characterized in that, The integrated chip includes a second port and a second adjustment circuit. The second adjustment circuit includes a second switching circuit and a fifth adjustment transistor. The fifth adjustment transistor is grounded. The second switching circuit is used to control the conduction of the fifth adjustment transistor. When the fifth adjustment transistor is on, the second port is used to output a low-level general-purpose signal.

9. The integrated chip according to claim 1, characterized in that, The integrated chip includes a second control circuit, a second port, an inverter, and a voltage selection circuit. The second port is used to input a general-purpose input signal. The voltage selection circuit is used to connect the regulated voltage or power supply voltage to power the inverter. The inverter is used to transmit the general-purpose input signal input from the second port to the second control circuit.

10. An electronic device, characterized in that, The electronic device includes a housing and an integrated chip as described in any one of claims 1-9, the integrated chip being disposed on the housing.