FAQ

Häufig gestellte Fragen

Does the NuMicro™ family provide the flag to check and ensure the internal clock is stable?  Datum:2014-01-01

Yes, all the series except the NUC1xxAN series provide the flag, OSC22M_STB, in the CLKSTATUS register to ensure the internal (HIRC) clock is stable. Please refer to the related Technical Reference Manual for further information.      

Please add the following marked code after the internal clock is enabled.

SYSCLK->PWRCON.XTL12M_EN = 1;

Case 1:(All series except NUC1xxAN series)

while(SYSCLK->CLKSTATUS.OSC22M_STB == 0);  // Check if (HIRC) clock is stable or not

Case 2:(NUC1xxAN series)

DrvSYS_Delay(5000);  // Add delay to make sure (HIRC) clock is stable

Produkte: Mikrocontroller ,Arm Cortex-M0-MCUs ,M051-Base-Serie ,M0518-Serie ,Mini51-Base-Serie ,Nano100/102-Base-Serie ,Nano110/112-LCD-Serie ,Nano120-USB-Serie ,Nano130-Advanced-Serie ,NUC029-Serie ,NUC100/200-Advanced-Serie ,NUC120/122/123/220-USB-Serie ,NUC130/230-CAN-Serie ,NUC131-NUC1311-CAN-Serie ,NUC140/240-Konnektivität-Serie ,Arm Cortex-M4-MCUs ,M451-Base-Serie ,M451M-Serie ,M452-USB-Serie ,M453-CAN-Serie ,NUC442/472-Serie ,NUC505-Serie
Applikationen:
Funktion: Peripherals,Clock Control,HIRC,LIRC
This website uses cookies to ensure you get the best experience on our website. Learn more