Hello!
What is the difference beetween clock configuration of KL26Z128vlh4 and KL26z64vft4?
I am using the mcuxpresso config tool and my kl26z64vft.
I am testing some program with internal reference closk, it works fine.
Then, I set the external clock (i am using 8mhz oscilator) like this:
My mcu not working with this settings, (and on kl26z evaluation board working fine).
Am I missing something?
Regards!
解決済! 解決策の投稿を見る。
Hi
Check whether you are using a crystal or an oscillator since they are not the same.
Also, if using a crystal, experiment with setting and removing the HGO flag in the register MCG_C2 since this setting must match your circuit loading for the crystal to reliably start.
As reference: if it works on the FRDM-KL26Z it means that it works for a crystal in low gain mode (no feedback resistor mounted).
Regards
Mark
Thanks Robin and Mark for answers,
I removed the feedback resistor and changed the cristal.
It is working now :smileywink:
Best Regards!
Hi
Check whether you are using a crystal or an oscillator since they are not the same.
Also, if using a crystal, experiment with setting and removing the HGO flag in the register MCG_C2 since this setting must match your circuit loading for the crystal to reliably start.
As reference: if it works on the FRDM-KL26Z it means that it works for a crystal in low gain mode (no feedback resistor mounted).
Regards
Mark
Hi Bony X,
I try to create new configuration for FRDM-KL26Z board, it's using 8MHz external crystal on board by default.
Not sure if the external clock circuit of FRDM-KL26Z are same with yours.
Would you please show us the schematics?
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------