Found the error, was missing the optional resistor Rs, which made it work.
Strange..optional shouldn't mean it breaks the oscillator....
Hi Johan,
It really is optional, depending on your crystal. Some crystals may require it, others may not. And it isn't always obvious from looking at the crystal's specification.
My philosophy is to always include a place for the "optional" components on the PCB, and then decide at build-time whether or not to include it. In this case, I would have put a trace between the two pads of Rs. Then, if I needed to include Rs, I would cut the trace.
I learned the hard way (I never make the same mistake more than ten or eleven times).
Hello Johan,
Further to Rocco's comments, the purpose of the resistor Rs is to limit the drive power (dissipation) within the crystal itself. The low frequency crystal type that you are using is much more fragile than higher frequency types of say, a few MHz. Therefore, the low frequency type almost always needs a series resistor, typically 30-100k, to prevent over-drive, and damage to the crystal. However, should the resistor value be too high for a particular crystal, it will either not start to oscillate, or starting will be erratic. It is best to observe the crystal manufacturerer's recommendations, if available.
On the other hand, crystals of >1Mz (that use the quartz AT-cut) almost never need the series resistor, i.e. Rs = 0.
Regards,
Mac