Initial value setting device, method and electronic device using the same

By dynamically adjusting the chip's initial settings through the initial process setting decoder and setting unit, the power-on time and power consumption issues caused by fixed readings are resolved, achieving fast power-on and energy-saving effects.

CN122152375APending Publication Date: 2026-06-05NUVOTON

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NUVOTON
Filing Date
2025-06-03
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

In existing technologies, chips read all initial settings during power-on, which increases power-on time and power consumption, and cannot be adjusted according to needs.

Method used

An initial process setting decoder and an initial setting unit are used to dynamically adjust the initial setting value and quantity. The decoder reads the initial process setting value from the memory and generates a valid setting code. Only the necessary initial setting value is read for chip setting.

Benefits of technology

It enables dynamic adjustment of initial settings based on requirements, shortens boot time and reduces power consumption, and is suitable for various application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122152375A_ABST
    Figure CN122152375A_ABST
Patent Text Reader

Abstract

The application provides an initial value setting device, a method and an electronic device using the same. The initial value setting device has an initial flow setting decoder and an initial setting unit. The initial flow setting decoder is electrically connected to a memory. The initial setting unit is electrically connected to the initial flow setting decoder, the memory and a chip. The initial flow setting decoder is used to read an initial flow setting value from the memory and decode the initial flow setting value to generate an initial flow effective setting code. The initial setting unit receives the initial flow effective setting code, reads at least one of a plurality of initial setting values stored in the memory according to the initial flow effective setting code, and performs initial setting on the chip according to the read at least one initial setting value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to an initial value setting device, method, and electronic device using the same, and particularly to an initial value setting device, method, and electronic device using the same that dynamically adjusts the initial setting value to be read and the number of initial setting values ​​as needed to control power-on time and power consumption during power-on. Background Technology

[0002] During power-up, the chip needs to read multiple initial settings from its internal memory to initialize various internal functions and registers. The process of reading initial settings is executed automatically in hardware. Once the chip design is complete, the number of initial settings read will be fixed, meaning the time for the initialization process (reading initial settings) will also be fixed.

[0003] Some functions of a chip may not be used immediately after power-on, or their usage probability after power-on is low. In some applications, some functions may not be used at all. Therefore, not all initial settings need to be read during power-on. However, the existing technology reads a fixed number of initial settings when the chip is powered on after the chip design is completed, usually all of them. This makes it impossible to adjust the initial process (reading initial settings) time according to requirements, and also increases power consumption. Summary of the Invention

[0004] As can be understood from the above description, the purpose of this invention is to provide a technical solution that can dynamically adjust the initial setting value to be read and the number of initial setting values.

[0005] Based on one objective of the present invention, an embodiment of the present invention provides an initial value setting apparatus, comprising an initial process setting decoder and an initial setting unit. The initial process setting decoder is electrically connected to a memory, and the initial setting unit is electrically connected to the initial process setting decoder, the memory, and a chip. The initial process setting decoder reads an initial process setting value from the memory and decodes the initial process setting value to generate an initial process valid setting code. The initial setting unit receives the initial process valid setting code and reads at least one of a plurality of initial setting values ​​stored in the memory according to the initial process valid setting code, and performs initial setting on the chip according to the read at least one initial setting value.

[0006] Based on one of the objectives of this invention, an embodiment of this invention provides an electronic device, which includes the aforementioned initial value setting device and chip.

[0007] Based on one objective of the present invention, an embodiment of the present invention provides an initial value setting method, which is executed in an initial value setting device in an electronic device for initializing a chip in the electronic device, and includes at least the following steps: reading an initial process setting value from a memory; decoding the initial process setting value to generate an initial process valid setting code; reading at least one of a plurality of initial setting values ​​stored in the memory according to the initial process valid setting code; and initializing the chip according to the at least one initial setting value read.

[0008] As described above, compared with the prior art, the initial value setting device, method and electronic device using it provided by the present invention can dynamically adjust the initial setting value to be read and the number of initial setting values ​​according to the needs, so as to control the power-on time and power consumption during power-on, thereby speeding up the chip power-on time, reducing the power consumption of the chip during power-on, and providing initial settings that are flexible to be applicable to various applications. Attached Figure Description

[0009] Figure 1 This is a block diagram of an electronic device with an initial value setting device according to an embodiment of the present invention.

[0010] Figure 2 This is a schematic diagram of the signal waveform of the initial value setting device according to an embodiment of the present invention.

[0011] Figure 3 This is a flowchart illustrating the initial value setting method according to an embodiment of the present invention.

[0012] [Symbol Explanation]

[0013] 101: Initial process setting decoder; 102: Initial setting unit; 103: Memory; 200: Chip; 201: Buffer; CFG0, CFG1, CFG3, CFG5, CFG6, CFG7, FINISH: Status values; CFGV: Initial setting value; CLK: Frequency signal; FCNS: Initial setting signal; FV: Initial process setting value; FADR: Initial process setting value address; IADR: Initial setting value address; INIB: Initial process valid setting code; S301~S306: Steps. Detailed Implementation

[0014] To achieve a technical solution that allows dynamic adjustment of the initial setting values ​​and their quantity, this invention includes a memory storing initial process setting values. The initial value setting device, method, and electronic device using it can dynamically adjust the initial setting values ​​and their quantity by reading these initial process setting values. This controls the chip's power-on time and power consumption, effectively reducing the initialization time of various chip functions and making the chip's power-on time faster and more energy-efficient. The following detailed description, in conjunction with the accompanying drawings, illustrates possible embodiments of this invention. However, it should be noted that these details are not intended to limit the scope of the claims, but are merely illustrative to those skilled in the art.

[0015] First, please refer to Figure 1 , Figure 1 This is a block diagram of an electronic device with an initial value setting device according to an embodiment of the present invention. The electronic device includes an initial value setting device and a chip 200, wherein the initial value setting device is electrically connected to the chip 200, and the initial value setting device includes at least an initial process setting decoder 101 and an initial setting unit 102. The initial process setting decoder 101 is electrically connected to a memory 103, and the initial setting unit 102 is electrically connected to the initial process setting decoder 101, the memory 103, and the chip 200. The memory 103 may be part of the initial value setting device, or it may be a memory originally present in the electronic device, and the present invention is not limited thereto. In addition, the initial value setting device can be implemented using a microcontroller unit, and the present invention is not limited thereto.

[0016] The initial process setting decoder 101 reads the initial process setting value FV from the memory 103 and decodes the initial process setting value FV to generate the initial process valid setting code INIB. The memory 103 stores initial process setting values ​​corresponding to various applications, modes, or users, and the number of stored initial process setting values ​​FV can be greater than or equal to one. In addition, the initial process setting value FV stored in the memory 103 can be updated through software and firmware updates to provide more flexibility or achieve better optimization.

[0017] The initial process setting decoder 101 can generate an initial process setting value address FADR based on a power-on signal, reset signal, user switching signal, or mode switching signal, and the initial process setting decoder 101 reads the initial process setting value FV from the memory 103 based on the initial process setting value address FADR. Furthermore, the method of generating the initial process setting value address FADR based on the power-on signal, reset signal, user switching signal, or mode switching signal can be implemented using a lookup table. When performing a firmware update, if the initial process setting value address FADR of the initial process setting value FV stored in the memory 103 is changed, the lookup table will also be updated accordingly.

[0018] The initial setting unit 102 receives the initial process valid setting code INIB, and uses it to read at least one of the multiple initial setting values ​​CFGV stored in the memory 103 according to the initial process valid setting code INIB, and performs initial setting on the chip 200 according to the read initial setting value CFGV. For example, the memory 103 stores a total of 32 initial setting values ​​CFGV, but in a specific application, some functions of the chip 200 are hardly used, and only 18 initial setting values ​​CFGV may need to be read during power-on. Therefore, the initial setting unit 102 will only read the required 18 initial setting values ​​CFGV according to the initial process valid setting code INIB corresponding to the designed initial process setting value FV.

[0019] Furthermore, the initial setting unit 102 generates an initial setting signal FCNS based on at least one read initial setting value CFGV, and transmits the initial setting signal FCNS to the chip 200. If no data format conversion is required, the values ​​included in the initial setting signal FCNS are the initial setting values ​​CFGV read by the initial setting unit 102. If data format conversion is required, the initial setting signal FCNS will include the converted values ​​of the initial setting values ​​CFGV read by the initial setting unit 102. Typically, the chip 200 includes a buffer 201, which temporarily stores the values ​​of the initial setting signal FCNS as initial values ​​required for the initial functions of the chip 200.

[0020] Please refer to the following at the same time Figure 1 and Figure 2 , Figure 2 This is a schematic diagram of the signal waveforms of the initial value setting device according to an embodiment of the present invention. In this invention, the initial setting unit 102 generates a status signal ST based on the initial process valid setting code INIB, and generates at least one initial setting value address based on the status signal ST. Figure 2In this process, the generated initial process valid setting code INIB is "11101011", indicating that only the 1st, 2nd, 4th, 6th, 7th, and 8th initial setting values ​​CFGV stored in memory 103 need to be read. Therefore, under the multiple positive edge triggering of the frequency signal CLK, the status value of the status signal ST changes sequentially to CFG0, CFG1, CFG3, CFG5, CFG6, CFG7, and FINISH. Among them, the status values ​​CFG0, CFG1, CFG3, CFG5, CFG6, and CFG7 are respectively used to correspond to the initial setting value addresses IADR that generate the 1st, 2nd, 4th, 6th, 7th, and 8th initial setting values ​​CFGV, and the status value FINISH indicates the end of the status signal ST. After obtaining each initial setting value address IADR, the initial setting unit 102 reads the corresponding initial setting values ​​CFGV stored in memory 103 according to each initial setting value address IADR.

[0021] Please refer to the following: Figure 1 and Figure 3 , Figure 3 This is a flowchart illustrating the initial value setting method according to an embodiment of the present invention. The initial value setting method is executed by an initial value setting device in an electronic device to initialize chip 200 in the electronic device. First, in step S301, the initial value setting device transmits the initial process setting value address FADR to the memory 103. The initial process setting value address can be generated based on a power-on signal, a reset signal, a user switching signal, or a mode switching signal. It should be noted that for different users or modes, some functions in the chip may not be frequently used or may not be used at all. That is, depending on the user or mode, the probability of using certain functions in the chip varies. Therefore, the initial setting value to be read and the number of initial setting values ​​can be determined according to the user or mode.

[0022] Next, in step S302, the initial value setting device reads the initial process setting value FV from memory 103 according to the initial process setting value address FADR. Then, in step S303, the initial value setting device decodes the initial process setting value FV to generate an initial process valid setting code INIB. After that, in step S304, the initial value setting device generates a status signal according to the initial process valid setting code INIB, and generates at least one initial setting value address IADR according to the status signal. In step S305, the initial value setting device reads the corresponding at least one initial setting value CFGV from memory 103 according to the at least one initial setting value address IADR. Finally, in step S306, the initial value setting device performs initial setting on chip 200 according to the read at least one initial setting value CFGV, that is, it generates an initial setting signal FCNS to perform initial setting on chip 200.

[0023] In summary, the initial value setting device, method and electronic device using the present invention have at least the following characteristics: (1) The initial setting value to be read and the number of initial setting values ​​to be read are dynamically adjusted by reading the initial process setting value, that is, the initial setting value determines which initial setting values ​​to be read, so that the initial process can be more flexible; (2) It is not necessary to read all or a fixed number of initial setting values ​​into the chip, and the number of initial setting values ​​to be read can be reduced according to the application, thereby controlling the chip power-on time and power consumption, thereby effectively reducing the initial time of each function of the chip, making the chip power-on time faster and more energy-efficient.

[0024] This invention is described herein with reference to preferred embodiments only. However, it should be understood by anyone skilled in the art that the above embodiments are merely for describing the invention and are not intended to limit the scope of the claims. Any variations or substitutions that are equivalent to or equivalent to the above embodiments should be interpreted as being covered within the spirit or scope of the invention. Therefore, the scope of protection of this invention should be based on the claims.

Claims

1. An initial value setting device, characterized in that, include: An initial process setting decoder is electrically connected to a memory for reading an initial process setting value from the memory and decoding the initial process setting value to generate an initial process valid setting code. as well as An initial setting unit is electrically connected to the initial process setting decoder, the memory, and a chip. It receives the initial process valid setting code and reads at least one of a plurality of initial setting values ​​stored in the memory according to the initial process valid setting code, and performs initial setting on the chip according to the read at least one initial setting value.

2. The initial value setting device as described in claim 1, characterized in that, The initial setting unit generates a status signal based on the initial process valid setting code, generates at least one initial setting value address based on the status signal, and reads the at least one initial setting value from the plurality of initial setting values ​​stored in the memory based on the at least one initial setting value address.

3. The initial value setting device as described in claim 1, characterized in that, The initial process setting decoder generates an initial process setting value address based on a power-on signal, a reset signal, a user switching signal, or a mode switching signal, and the initial process setting decoder reads the initial process setting value from the memory based on the initial process setting value address.

4. The initial value setting device as described in claim 1, characterized in that, The initial setting unit generates an initial setting signal based on the read at least one initial setting value, and transmits the initial setting signal to the chip.

5. The initial value setting device as described in claim 1, characterized in that, It also includes the memory.

6. The initial value setting device as described in claim 1, characterized in that, The initial value setting device is implemented using a microcontroller unit.

7. An electronic device, characterized in that, include: The initial value setting device as described in any one of claims 1 to 6; as well as The chip is electrically connected to the initial value setting device.

8. An initial value setting method, executed in an initial value setting device in an electronic device for initializing a chip in the electronic device, characterized in that, include: Read an initial process setting value from a memory; The initial process settings are decoded to generate an initial process valid setting code; Read at least one of the multiple initial setting values ​​stored in the memory according to the initial process valid setting code; as well as The chip is initially configured based on at least one read initial setting value.

9. The initial value setting method as described in claim 8, characterized in that, A status signal is generated based on the initial process valid setting code, at least one initial setting value address is generated based on the status signal, and the at least one initial setting value is read from the plurality of initial setting values ​​stored in the memory based on the at least one initial setting value address.

10. The initial value setting method as described in claim 8, characterized in that, An initial process setting address is generated based on a power-on signal, a reset signal, a user switching signal, or a mode switching signal, and the initial process setting value is read from the memory based on the initial process setting address.