Hello
i was using a TWR-K53N512 to develop an application, now i made a custon PCB with the MK53DN512CMD10 and i try to loading a simple code and i found that it got stuck on the next line at the bsp_cm.c
while((MCG_S & MCG_S_IREFST_MASK) != 0x00U) { /* Check that the source of the FLL reference clock is the external reference clock. */
}
what should i do?
已解决! 转到解答。
Hello Alberto,
This issue is caused if the custom board has a different clock configuration. The TWR-K53N512 features a 50 MHz on-board clock oscillator as seen in sheet 3 of the schematics.
If you have a different configuration, you need to change the BSP. Attached, you can find a document that explains how to change the default clock configurations.
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Alberto,
This issue is caused if the custom board has a different clock configuration. The TWR-K53N512 features a 50 MHz on-board clock oscillator as seen in sheet 3 of the schematics.
If you have a different configuration, you need to change the BSP. Attached, you can find a document that explains how to change the default clock configurations.
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------