US 12,405,656 B2
Power control method for microcontroller unit and power control system using the same
I-Ching Chen, Zhubei (TW)
Assigned to NUVOTON TECHNOLOGY CORPORATION, Hsinchu (TW)
Filed by NUVOTON TECHNOLOGY CORPORATION, Hsinchu (TW)
Filed on Mar. 4, 2024, as Appl. No. 18/594,273.
Claims priority of application No. 112143419 (TW), filed on Nov. 10, 2023.
Prior Publication US 2025/0155954 A1, May 15, 2025
Int. Cl. G06F 1/324 (2019.01); G06F 1/08 (2006.01); G06F 1/3234 (2019.01); G06F 1/3296 (2019.01)
CPC G06F 1/324 (2013.01) [G06F 1/3296 (2013.01)] 10 Claims
OG exemplary drawing
 
1. A power control method for a microcontroller unit (MCU), comprising:
after a triggering event of switching central processing unit (CPU) frequency occurs, controlling, through a power controller, a low dropout linear regulator (LDO) to output a preset voltage and triggering a clock controller to switch a first CPU frequency;
after the clock controller switches the first CPU frequency, counting, through a clock counter, a number of times of occurrence of a CPU clock within a period to obtain a second CPU frequency; and
determining, through the power controller, a corresponding voltage of the second CPU frequency and controlling the LDO to output the corresponding voltage.