US 12,222,746 B2
Microcontroller and method for initializing a microcontroller
Matthias Marquardt, Hannover (DE)
Assigned to Infineon Technologies AG, Neubiberg (DE)
Filed by Infineon Technologies AG, Neubiberg (DE)
Filed on Oct. 6, 2022, as Appl. No. 17/960,842.
Claims priority of application No. 10 2021 126 384.0 (DE), filed on Oct. 12, 2021.
Prior Publication US 2023/0110860 A1, Apr. 13, 2023
Int. Cl. G06F 1/08 (2006.01); H03K 21/08 (2006.01)
CPC G06F 1/08 (2013.01) [H03K 21/08 (2013.01)] 22 Claims
OG exemplary drawing
 
1. A microcontroller, comprising:
an internal timing hardware circuit having an output and configured to generate an internal clock signal;
terminal contact configured to receive an external clock signal;
a clock changing hardware circuit having a first input, a second input, and an output, the first input of the clock changing hardware circuit electrically connected to the terminal contact; and
a timer hardware circuit having a first input, a second input, and an output, the first input of the timer hardware circuit electrically connected to the terminal contact, the second input of the timer hardware circuit independent of the first input of the timer hardware circuit and electrically connected to the output of the internal timing hardware circuit, and the output of the timer hardware circuit electrically connected to the second input of the clock changing hardware circuit;
wherein the timer hardware circuit, after the microcontroller has been switched on, is configured to:
determine a frequency of the external clock signal based on the internal clock signal, and
determine at least one parameter based on which the clock changing device is configured to change the external clock signal into a useful clock signal with a predefined frequency.