During the program development of the NUC100AN series using the BSP V3.0 or later version, why does the user get stuck i

Post Reply
a_ziliu
Posts: 208
Joined: 20 Mar 2017, 10:52

27 Mar 2017, 14:08

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.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests