K10 oscillator auto-switch

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

K10 oscillator auto-switch

Jump to solution
432 Views
alexeypanteleyc
Contributor II

Hello!

Could you please advise if K10P64M72SF1 has an oscillator auto-switching function?

For example, when MCU starts from external quartz and the quartz is not stable, can the MCU detect it and switch to work from an internal oscillator?

Thanks and regards,

Alexey

Labels (1)
0 Kudos
1 Solution
366 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Alexey,

   The K10P64M72 chip doesn't have the oscillator auto-swithing function, all the MCG mode is switched by the code.

   After reset, the MCU will enter in FEI mode which is using internal oscillator, if you want to use the external crystal as the clock source, you need to switch the MCG mode by the code.

pastedImage_1.png

   If you choose the correct external crystal and the according circuit, the crystal should be stable, otherwise, your MCG switch will be failed.

   About this question, I think you can pay more attention in the hardware design to make sure the hardware can work stable. In the software, you can detect the MCG mode switch, if switch to the external crystal, and failed, then code should switch back the last MCG mode.

Wish it helps you!

   


Have a great day,
Jingjing

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

View solution in original post

0 Kudos
1 Reply
367 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Alexey,

   The K10P64M72 chip doesn't have the oscillator auto-swithing function, all the MCG mode is switched by the code.

   After reset, the MCU will enter in FEI mode which is using internal oscillator, if you want to use the external crystal as the clock source, you need to switch the MCG mode by the code.

pastedImage_1.png

   If you choose the correct external crystal and the according circuit, the crystal should be stable, otherwise, your MCG switch will be failed.

   About this question, I think you can pay more attention in the hardware design to make sure the hardware can work stable. In the software, you can detect the MCG mode switch, if switch to the external crystal, and failed, then code should switch back the last MCG mode.

Wish it helps you!

   


Have a great day,
Jingjing

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

0 Kudos