4 ms·
TIP: You should never scope a crystal directly as that could damage it. In production, for testing crystals, we output a PWM on a pin using the crystal as a sou
by ChuckNorris89 8y ago
TIP: You should never scope a crystal directly as that could damage it. In production, for testing crystals, we output a PWM on a pin using the crystal as a source and measure that if the MCU doesn't have a built in functionality.
- berti 8y agoSTM32 has MCO outputs that can be used to more directly pass various (divided) clocks through.
- philpem 8y agoI've never heard of putting a scope probe on a crystal damaging it, though the load resistance (typically 1Megohm to ground) and capacitance (~5pF to ground) will affect the frequency. This is why the PWM-out is useful -- it gives you a buffered, divided-down version of the crystal clock.
- edoo 8y agoInteresting, but maybe not required. You can do a programmatic check of the crystal and PLL. I've had over 200k devices fabbed and deployed without ever directly testing a single crystal. What kind of error rate do you find?