cancel
Showing results for 
Search instead for 
Did you mean: 

How to calculate capacitor value for 32.768 kHz cystal (RTC for STM32F030R8T6)

WPong.1
Associate II

How to calculate capacitor value for 32.768 kHz cystal (RTC for STM32F030R8T6)

1 ACCEPTED SOLUTION

Accepted Solutions
PMath.4
Senior III

Crystals have a defined internal capacitance which you are trying to match. The two capacitors are effectively in series which halves their effective capacitance. So if you have a 10pF crystal then you need two 20pf capacitors.

EXCEPT

The circuit tracks also have capacitance and this should be taken into account to reduce slightly the required value of the capacitors. So in my example you might start with two 16pF or 2 18pF capacitors

View solution in original post

4 REPLIES 4
eeeeee
Associate III

From the reference design of the STM32F030R8T6 I see they are using two 10 pF capacitors for the LSE oscillator. Would that be enough information?

eeeeee

we dont need to firmware by ourselves, lets talk
PMath.4
Senior III

Crystals have a defined internal capacitance which you are trying to match. The two capacitors are effectively in series which halves their effective capacitance. So if you have a 10pF crystal then you need two 20pf capacitors.

EXCEPT

The circuit tracks also have capacitance and this should be taken into account to reduce slightly the required value of the capacitors. So in my example you might start with two 16pF or 2 18pF capacitors

Thank you. I just found this Infomation in "Oscillator design guide for STM8AF/AL/S, STM32 MCUs and MPUs"

0693W00000FE2l7QAD.png