Electronic – replace this oscillator circuit with oscillator IC

crystaloscillator

Disclaimer: I am programmer and when it comes to analog circuits I have no idea what I am doing.

I have a board with STM32F103 that uses external oscillator made by crystal and two capacitors:

current schema

The crystal is CD05M008000RD1 / 49SMD-8-20-20 described as 8Mhz, 20pF, 20ppm, ESR 60Ohm.

Everything seems to be working fine, but I am trying to reduce the board size and the crystal is rather big. I am looking for either smaller crystal or a complete oscillator in small package.

I found for example this: O 8,0-JO32-B-1V3-1-T1-LF described as XTAL OSC XO 8MHZ HCMOS SMD, 50ppm.

Can I use it so that it will look like this?

enter image description here

I see that it is less precise (20ppm vs 50ppm), but for my use-case it should be well within the limit. It is still way better than the internal oscillator. Are there any other differences that I am not seeing?

Best Answer

From the datasheet both types can be used. Just select the type in FW.

enter image description here

enter image description here