FAQ

FAQ

Does the NuMicro™ family provide the flag to check and ensure the internal clock is stable?  Issue Date:2015-02-09

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.

 

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

Products: 마이크로컨트롤러(MCU) ,Arm Cortex-M0 MCUs ,M051 시리즈 ,M0518 시리즈 ,Mini51 시리즈 ,Nano100/102 시리즈 ,Nano110/112 LCD 시리즈 ,Nano120 USB 시리즈 ,Nano130 어드밴스드 시리즈 ,NUC029 시리즈 ,NUC100/200 어드밴스드 시리즈 ,NUC120/122/123/220 USB 시리즈 ,NUC130/230 CAN 시리즈 ,NUC131/NUC1311 CAN 시리즈 ,NUC140/240 연결(Connectivity) 시리즈 ,Arm Cortex-M4 MCUs ,M451 시리즈 ,M451M 시리즈 ,M452 USB 시리즈 ,M453 CAN 시리즈 ,NUC442/472 시리즈 ,NUC505 시리즈
Applications:
Function: Peripherals,Clock Control,HIRC,LIRC
This website uses cookies to ensure you get the best experience on our website. Learn more