MCUXpresso and kl26z64 Clock config

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MCUXpresso and kl26z64 Clock config

ソリューションへジャンプ
1,061件の閲覧回数
grochal7
Contributor III

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:

pastedImage_1.png

My mcu not working with this settings, (and on kl26z evaluation board working fine).

Am I missing something?

Regards!

1 解決策
929件の閲覧回数
mjbcswitzerland
Specialist V

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

元の投稿で解決策を見る

3 返答(返信)
929件の閲覧回数
grochal7
Contributor III

Thanks Robin and Mark for answers, 

I removed the feedback resistor and changed the cristal.

It is working now :smileywink:

Best Regards!

0 件の賞賛
返信
930件の閲覧回数
mjbcswitzerland
Specialist V

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

929件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

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?

create new configuration.png

Clocks FRDM-KL26Z.pngFRDM-KL26Z RevB crystal.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------