9S08AC60 external ceramic resonator not locking

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

9S08AC60 external ceramic resonator not locking

跳至解决方案
1,240 次查看
barrygordon
Contributor I

I have built two boards both with a 4Mhz Ceramic Resonator.  Both board, using the Cyclone Pro can be programmed and single step.

On one board the ceramic resonator is not locking (using a scope - no oscillator on either pin).  The code is set up as in example 2 of the manual.  The code is stuck on the while loop.

 

The ceramic resonator has the bypass capacitors and resistors embedded in the body.

 

ICGC1 = 0x30;

ICGC2 = 0x30;

/* Wait for LOCK bit */

while (!ICGS1_LOCK);

 

The circuit ohms out Ok. 

Any trouble hints on what to do next.

标签 (1)
0 项奖励
回复
1 解答
1,070 次查看
barrygordon
Contributor I

The voltage was the same on each side approx 1/2 Vdd.  My scope probes are x10.

I changed out the resonator with a spare and that fixed the problem.

after rechecking the resonator again, it appeared that there was no embedded resistor - I added a 1 meg ohm resistor - that fixed the problem - built 7 modules and all work.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,070 次查看
bigmac
Specialist III

Hello,

To confirm that the ceramic resonator actually contains embedded resistance, the quiescent voltage measured at each of the pins should be approximately equal at one half Vdd.  The oscilloscope probe setting will need to be x10 for 10M ohm input resistance.  If the two voltages significantly differ from each other, with voltages close to either supply rail, the particular resonator may not contain sufficiently low embedded resistance.  I would expect a value of about 1M ohm.

If the capacitance ot the oscilloscope probe is too high, it is possible for the measurement process to cause oscillations to cease.  Check for oscillation at both pins.

Regards,

Mac

0 项奖励
回复
1,071 次查看
barrygordon
Contributor I

The voltage was the same on each side approx 1/2 Vdd.  My scope probes are x10.

I changed out the resonator with a spare and that fixed the problem.

after rechecking the resonator again, it appeared that there was no embedded resistor - I added a 1 meg ohm resistor - that fixed the problem - built 7 modules and all work.

0 项奖励
回复
1,070 次查看
admin
Specialist II

Mistyped when I enter the code:

ICGC1 = 0x78;

ICGC2 = 0x30;

0 项奖励
回复