FAQ

Häufig gestellte Fragen

During the program development of the NUC100AN series using the BSP V3.0 or later version, why does the user get stuck in waiting for a stable clock source? How to handle it?  Datum:2015-11-02

Since the CLKSTATUS register did not exist in the NUC100AN series, when the program executes

while((CLK->CLKSTATUS & CLK_CLKSTATUS_OSC22M_STB_Msk) == 0);

this will cause the program to enter an infinite loop.

 

The user can change to delay 5ms

CLK_SysTickDelay(5000);

to ensure a stable clock source.

Produkte: Mikrocontroller ,Arm Cortex-M0-MCUs ,NUC100/200-Advanced-Serie ,NUC120/122/123/220-USB-Serie
Applikationen:
Funktion: Peripherals,Clock Control,HCLK,HIRC,HXT,LIRC,LXT,PLL
This website uses cookies to ensure you get the best experience on our website. Learn more
OK