# Electronic – Wrong load capacitance for 20 MHz, 20 pf crystal

capacitancecrystalmsp430

I am new to microcontroller development, and I wanted to try running the MSP430f5529 off of an external crystal of 20 MHz that requires 20 pF of capacitance. I read on the datasheet that the pins can support up to 12 pF of internal capacitance, which is what I planned around when I ordered external 22 pF capacitors. When using the equation described here.

$$\frac{(22+12)\cdot(22+12)}{22+12+22+12} + \sim3 = 20\,\text{pF}$$

Unfortunately, I did not do my research well enough, as it seems that XT2 (the high frequency external register) does not have internal capacitance. The XCAP bit is only for the XT1 register. My question is, will the lower capacitance be a significant problem for running the clock near 20 MHz (±500 kHz)?

$$\frac{22\cdot22}{44} + \sim3 = 14\,\text{pF}$$

That makes it 6 pF less then desired.

edit: Also, I do not know if this is how capacitors work in series, but another option is I could put two of the 22 pF ones inline on one terminal. So I could have $$\frac{(22+22)\cdot22}{22+22+22} + \sim3 \simeq 17\,\text{pF}$$ Does that work?

Thanks