Frequency adjustment device and frequency adjustment method
Patent Information
- Authority / Receiving Office
- TW · TW
- Patent Type
- Applications
- Current Assignee / Owner
- NUVOTON
- Filing Date
- 2025-01-24
- Publication Date
- 2026-08-01
Smart Images

Figure TWG2TA001069896_001 
Figure TWG2TA001069896_002 
Figure TWG2TA001069896_003
Abstract
Claims
1. A frequency adjustment device, comprising: a microprocessor for receiving a memory access signal; a buffer disposed within the microprocessor, wherein the buffer is configured to receive and output the input index signal and the output index signal based on the memory access signal, an input index signal, and an output index signal; and a frequency adjustment circuit disposed within the microprocessor, wherein the frequency adjustment circuit receives and outputs a first current threshold based on the input index signal and the output index signal; wherein the frequency adjustment circuit outputs a threshold trimming signal to a time register based on a set threshold signal and the first current threshold; wherein the frequency adjustment circuit determines whether to output an interval trimming signal to the time register based on a set threshold signal and the first current threshold; wherein a first interface outputs a receive signal; wherein the microprocessor converts and outputs a first input peripheral direct memory access signal of the memory access signal based on the receive signal; The frequency adjustment circuit receives and outputs a second input peripheral direct memory access signal to a second interface based on the first input peripheral direct memory access signal of the memory access signal.
2. The frequency adjustment device as described in claim 1, wherein when the frequency adjustment circuit determines that the set threshold is not equal to the current threshold, the frequency adjustment circuit outputs the interval adjustment signal to the time register according to a set interval signal.
3. The frequency adjustment device as claimed in claim 1, wherein the input indicator signal and the output indicator signal are each related to the memory access signal.
4. The frequency adjustment device as claimed in claim 2, wherein the frequency adjustment circuit sets a first difference between the input index signal and the output index signal as the first current threshold; wherein the frequency adjustment circuit sets a second difference between the set threshold and the first current threshold as a threshold adjustment value of the threshold adjustment signal; wherein the frequency adjustment circuit compares whether the set threshold and the first current threshold are the same; wherein the frequency adjustment circuit adjusts a system frequency according to the threshold adjustment value and obtains a second current threshold; wherein when the frequency adjustment circuit determines that the set threshold and the second current threshold are the same, the frequency adjustment circuit adjusts the threshold adjustment value.
5. The frequency adjustment device as described in claim 4, wherein the frequency adjustment circuit determines whether the set threshold and the first current threshold are the same; wherein when the frequency adjustment circuit determines that the set threshold and the current threshold are not the same, the frequency adjustment circuit adjusts a first interval trimming value of the interval trimming signal to a second interval trimming value; wherein the frequency adjustment circuit adjusts the system frequency according to the second interval trimming value and obtains the second current threshold; wherein when the frequency adjustment circuit determines that the set threshold and the second current threshold are the same, the frequency adjustment circuit adjusts the interval trimming signal.
6. A frequency adjustment method, comprising: receiving a memory access signal; receiving and outputting the input index signal and the output index signal based on the memory access signal, an input index signal, and an output index signal; receiving and outputting a first current threshold based on the input index signal and the output index signal; outputting a threshold trimming signal based on a set threshold signal and the first current threshold; determining whether to output an interval trimming signal to a time register based on a set threshold signal and the first current threshold; outputting a received signal through a first interface; converting and outputting a first input peripheral direct memory access signal of the memory access signal based on the received signal; and receiving and outputting a second input peripheral direct memory access signal to a second interface based on the first input peripheral direct memory access signal of the memory access signal.
7. The frequency adjustment method as described in claim 6 further includes: when it is determined that the set threshold is not equal to the current threshold, outputting the interval adjustment signal according to a set interval signal.
8. The frequency adjustment method as described in claim 6, wherein the input indicator signal and the output indicator signal are each related to the memory access signal.
9. The frequency adjustment method as described in claim 7 further comprises: during a first period, setting a first difference between the input indicator signal and the output indicator signal as the first current threshold; during the first period, setting a second difference between the set threshold and the first current threshold as a threshold trimming value of the threshold trimming signal; during a second period, comparing whether the set threshold and the first current threshold are the same; during a third period, adjusting a system frequency according to the threshold trimming value and obtaining a second current threshold; and during a fourth period, when it is determined that the set threshold and the second current threshold are the same, restoring the threshold trimming value to 0.
10. The frequency adjustment method as described in claim 9 further comprises: during the first period, determining whether the set threshold and the first current threshold are the same; during the second period, when it is determined that the set threshold and the current threshold are not the same, increasing or decreasing a first interval trimming value of the interval trimming signal by 1 to obtain a second interval trimming value; during the third period, adjusting the system frequency according to the second interval trimming value and obtaining the second current threshold; and during the fourth period, when it is determined that the set threshold and the second current threshold are the same, restoring a third interval trimming value of the interval trimming signal to 0.