Question on procedure for calculating crystal loading capacitors...
Is the calculation procedure in AN2867 "Oscillator design guide for STM8AF/AL/S and STM32 microcontrollers" correct? On page 12, Cl is given by
CL = (CL1 x CL2)/(CL1 + CL2) + Co
where CL1 and CL2 are loading capacitors and Co is the crystal shunt capacitance. What about the PCB and pin capacitances? AN2867 says that a suitable figure for them is 10 pF and since the series combination of them is in parallel with Co, shouldn't the equation above be
CL = (CL1 x CL2)/(CL1 + CL2) + Co + 10pF/2
Similarly, the equation for gmcrit on page 13 should include pin and PCB capacitance, should it not?
And what about the calculation for ESR on page 14?
Also, in the equations at the bottom of page 15, why is Co ignored? And is Cs the capacitance of the PCB and pins?
Please advise.
Best regards,
Peter
