2
\$\begingroup\$

I have a design with a W65C51S ACIA IC, which uses a 1,8 crystal MHz for serial communication. The clock generation example in the datasheet shows an external 1 MOhms resistor in parallel to the crystal.

enter image description here

It seems that the crystal doesn´t produce any clock signal if the resistor is missing. So what does this resistor do?

\$\endgroup\$
1
  • 3
    \$\begingroup\$ It provides a DC bias path (necessary in some oscillators). \$\endgroup\$ Jan 16, 2020 at 13:30

1 Answer 1

4
\$\begingroup\$

The datasheet of the W65C51S doesn't provide enough details to be sure but my guess is that the crystal oscillator circuit inside the IC doesn't have a 1 M ohm feedback resistor.

This is a typical example of a commonly used crystal oscillator circuit:

enter image description here

This is a Pierce oscillator circuit.

My guess is that on the W65C51S the feedback resistor \$R_f\$ isn't implemented. It might have been impossible or too costly to do so. So an external resistor is needed.

The function of the resistor is to DC bias the inverter such that it has a high gain (large amplification) which is needed to make the oscillator work.

\$\endgroup\$
4
  • \$\begingroup\$ Thank you, that´s the missing point. Can you please add some explanation of why the inverter has a high gain when there is some kind of DC bias on his input/output? I would suggest that the gain is much bigger when you input some small voltage and get the Vcc output. But maybe I misunderstand this point... \$\endgroup\$
    – Kampi
    Jan 16, 2020 at 14:11
  • \$\begingroup\$ Negative DC feedback via the resistor keeps the input optimally biased to produce maximum gain @Kampi \$\endgroup\$
    – Andy aka
    Jan 16, 2020 at 14:12
  • 1
    \$\begingroup\$ Can you please add some explanation of why the inverter has a high gain when there is some kind of DC bias on his input/output? I could but you can also study the CMOS inverter circuit in more detail yourself. It is a very common circuit and there are many explanations to be found of you just look for them. Perhaps this is of help: youtube.com/watch?v=fqiYu6IOtmU \$\endgroup\$ Jan 16, 2020 at 14:21
  • \$\begingroup\$ Thank you for the video. As far as I understand it after watching the video (only the first half till now) you bias the inverter to let the crystal oscillate between a voltage of Vcc / 2. In this case, the crystal only has to apply a small voltage to let the inverter swing between maximum and minimum with the oscillator frequency. \$\endgroup\$
    – Kampi
    Jan 16, 2020 at 16:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.