MCUXpresso and kl26z64 Clock config

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCUXpresso and kl26z64 Clock config

Jump to solution
1,262 Views
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 Solution
1,130 Views
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

View solution in original post

3 Replies
1,130 Views
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 Kudos
Reply
1,131 Views
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

1,130 Views
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!
-----------------------------------------------------------------------------------------------------------------------