常见问答

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: Microcontrollers ,Arm Cortex-M0 MCUs ,M051 Base Series ,M0518 Series ,Mini51 Base Series ,Nano100/102 Base Series ,Nano110/112 LCD Series ,Nano120 USB Series ,Nano130 Advanced Series ,NUC029 Series ,NUC100/200 Advanced Series ,NUC120/122/123/220 USB Series ,NUC130/230 CAN Series ,NUC131/NUC1311 CAN Series ,NUC140/240 Connectivity Series ,Arm Cortex-M4 MCUs ,M451 Base Series ,M451M Series ,M452 USB Series ,M453 CAN Series ,NUC442/472 Series ,NUC505 Series
Applications:
Function: Peripherals,Clock Control,HIRC,LIRC
本網站使用cookie作為與網站互動時識別瀏覽器之用,瀏覽本網站即表示您同意本網站對cookie的使用及相關隱私權政策