US 12,229,325 B2
Microcontroller, protection circuit, and protection method capable of avoiding interference from sudden events
Yun-Kai Lai, Hsinchu (TW)
Assigned to NUVOTON TECHNOLOGY CORPORATION, Hsinchu Science Park (TW)
Filed by Nuvoton Technology Corporation, Hsinchu (TW)
Filed on May 31, 2022, as Appl. No. 17/828,812.
Claims priority of application No. 110123306 (TW), filed on Jun. 25, 2021.
Prior Publication US 2022/0414269 A1, Dec. 29, 2022
Int. Cl. G06F 21/76 (2013.01); G06F 13/24 (2006.01)
CPC G06F 21/76 (2013.01) [G06F 13/24 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A microcontroller, comprising:
an event-detection circuit, detecting a sudden event, and correspondingly outputting an interrupt notification and a protection-enable signal according to the sudden event;
a protection-control circuit, receiving the protection-enable signal, and correspondingly outputting a protection-execution signal;
a digital-to-analog converter;
a digital-to-analog conversion interface controller, receiving the protection-execution signal, stopping an update of received input data, stopping an output of an acknowledgement signal, and enabling the digital-to-analog converter to suspend a signal conversion;
a trigger-event controller, determining whether to set conversion parameters of the digital-to-analog conversion interface controller according to the acknowledgement signal; and
a central processing unit, determining the conversion parameters, outputting the conversion parameters to the trigger-event controller, and receiving the interrupt notification to eliminate the sudden event.