System oscillator will not start

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

System oscillator will not start

跳至解决方案
2,455 次查看
aune
Contributor III

Using the FRDM-K22F ( MK22FN512VLH12 ), and trying to use the external crystall.

After setting up the HGO = 1, Range = 1 and EREFS = 1, and selecting CLKS = 2 I would assume that the oscillator should start, but nothing happens.

I have verified that R57 is not present on the PCB.

0 项奖励
回复
1 解答
2,221 次查看
mjbcswitzerland
Specialist V

Hi

The gain setting must match with the HW.

If the crystal is not loaded (no loading capacitors or feedback resistor) the low gain is correct. Setting high gain will be wrong and not work.

If the crystal is loaded (with loading capacitors and a feedback resistor) the high gain is correct. Setting low gain will be wrong and not work.

Some Freescale boards require high gain and some require low gain.

If it is not clear from the circuit see which one works and use that.

Regards

Mark

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,221 次查看
aune
Contributor III

If I don't set the HGO = 1, but leave this at 0, it works. ANyone got a good explanation why?

0 项奖励
回复
2,221 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,

In the External Crystal/Resonator Connections section, it illustrates the various external crystal/resonator connections of the corresponded oscillator mode.

And please refer to it in details.
Have a great day,
Ping

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

0 项奖励
回复
2,222 次查看
mjbcswitzerland
Specialist V

Hi

The gain setting must match with the HW.

If the crystal is not loaded (no loading capacitors or feedback resistor) the low gain is correct. Setting high gain will be wrong and not work.

If the crystal is loaded (with loading capacitors and a feedback resistor) the high gain is correct. Setting low gain will be wrong and not work.

Some Freescale boards require high gain and some require low gain.

If it is not clear from the circuit see which one works and use that.

Regards

Mark

0 项奖励
回复
2,221 次查看
aune
Contributor III

Thanks for the explanation, makes sense.

As you said, I have no external feedback resistor, so when setting HGO = 0, the oscillator started up just fine.

0 项奖励
回复