0
\$\begingroup\$

What are the best terms for crystals/resonators/oscillators used with microcontrollers that cover each of the following groups:

  • clock sources that require an additional oscillator circuit (NOT gate) of the type found in many microcontrollers, and are therefore hooked up to both CLKIN and CLKOUT pins of a microcontroller
  • clock sources that provide a clock signal without additional circuitry, and can therefore be hooked up to a single pin on the device (typically CLKIN or OSCIN) without requiring additional pins
\$\endgroup\$
15
  • \$\begingroup\$ related (but not identical) questions: electronics.stackexchange.com/questions/86676/… and electronics.stackexchange.com/questions/36308/… \$\endgroup\$
    – Jason S
    Commented Aug 18, 2021 at 17:05
  • 3
    \$\begingroup\$ To add to the confusion, there are times when you are using an external oscillator (rectangular can, for example) to drive an MCU where you are supposed to drive the XOUT and not the XIN! (Many Microchip MCUs, for example.) This is because driving the XIN forces the internal class-A inverter amplifier to run hot; but where driving the XOUT allows the internal class-A inverter amplifier to settle on a quiescent state, instead, and thereby greatly reducing power consumption as the inverter is vastly over-powered to deal with idiot-proofing. \$\endgroup\$
    – jonk
    Commented Aug 18, 2021 at 17:09
  • \$\begingroup\$ @jonk interesting... that may be, but that doesn't affect how I would describe the clock source as one of these two groups of objects \$\endgroup\$
    – Jason S
    Commented Aug 18, 2021 at 18:05
  • \$\begingroup\$ Just FYI. You get to decide how it matters. And sounds like you have. \$\endgroup\$
    – jonk
    Commented Aug 18, 2021 at 18:10
  • 1
    \$\begingroup\$ @JasonS I thought it should have been in the public documentation back then. I said as much to the FAE. But for reasons not entirely clear to either of us, it was available only upon request. (I didn't know to ask for it until the FAE mentioned it, as part of our discussion about reducing power requirements. It was then he said I could ask for it.) \$\endgroup\$
    – jonk
    Commented Aug 18, 2021 at 19:33

1 Answer 1

1
\$\begingroup\$

Crystals are two-pin components and ceramic resonators are two-pin or three-pin components. Both are passive components in a sense that they don't have power supply inputs and thus don't oscillate by themselves, they need the oscillator circuitry that is typically provided inside the MCU. These can be used with a clock setting that requires "external crystal" or "external resonator" and must be connected with two pins to the MCU. If the MCU is capable of different clock settings, it must be configured to use this kind of clock source by turning on the internal oscillator circuitry.

If the MCU has a separate setting of accepting a square wave clock signal on a single input pin, this is typically just called "external clock". This selection also typically turns off the internal oscillator circuitry as it is not needed.

The square wave can however come from any source, like a "crystal oscillator" you can buy as a separate module that contains both the crystal and the oscillator circuitry and it takes in supply voltages and outputs square wave. Or any other circuit that produces square wave.

Some MCUs also have a setting for connecting external resistor and capacitor as an RC oscillator.

\$\endgroup\$
1
  • \$\begingroup\$ so "passive clock source" and "active clock source" are appropriate? \$\endgroup\$
    – Jason S
    Commented Aug 18, 2021 at 18:04

Your Answer

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

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