K10 oscillator auto-switch

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

K10 oscillator auto-switch

跳至解决方案
994 次查看
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

标签 (1)
0 项奖励
回复
1 解答
928 次查看
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 项奖励
回复
1 回复
929 次查看
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 项奖励
回复