This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
When I turn it on again, it stops at DL_SYSCTL_getClockStatus(void)
The following is the location where I met
/* Check that SYSPLL is disabled before configuration */
while ((DL_SYSCTL_getClockStatus() & (DL_SYSCTL_CLK_STATUS_SYSPLL_OFF)) !=
(DL_SYSCTL_CLK_STATUS_SYSPLL_OFF)) {
;
}
Please check the register, [DL_SYSCTL_getClockStatus()] reads.
This register will show you the clock status, and you can get more clock information.
You said: when you turn it on again.
Reset or power on? Could you show me more detailed information?
For normal debug, you need to download code and reset M0 to start a debug session.
I think this is not related to power-on.
How do you know that after a power-on, your code stuck at waiting for SYSPLL off?
If you are in debug mode, can you show me your callstack?
Does this issue happens when in debug mode?
And need to check your M0 circuit of your schematic.
if you are using syspll and enable reset clock in syscfg-sysctl, there maybe need to wait for syspll stop.
I Am OoO, and can not help you verify this.