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.
看一下你的DCO是否有被使用,如果DCO没使用的话,有可能造成USB的CLK初始化失败.
具体参见官网的勘误表 USB8的描述:
If the DCO is not used or does not source any clock in the system, the PLL may not
initialize properly, leading to a "bus error" NMI when the CPU attempts to access USB
memory. Under certain conditions, the PLL requires the DCO to be active in order to
initialize properly. If any of the system clocks (MCLK, SMCLK, ACLK) are derived from
the DCO during PLL initialization, this condition is satisfied and the PLL initializes in a
stable manner.