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](https://i.stack.imgur.com/rq0a0.png)](https://i.stack.imgur.com/rq0a0.png)

The crystal is [CD05M008000RD1](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=2ahUKEwih4J-hufTmAhURYVAKHRZjDKoQFjAAegQIARAC&url=https%3A%2F%2Ffile.elecfans.com%2Fweb1%2FM00%2F81%2F03%2Fo4YBAFwtdTqAaph7AAQh1e9idWc728.pdf%3Ffilename%3D%25E5%258D%258E%25E5%25BC%25BA%25E8%2581%259A%25E4%25B8%25B0%25C2%25A049S-8-20-20-181228.pdf&usg=AOvVaw0_Tyi_v4p9j0hGZcA7f1NQ) / 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](https://www.jauch.com/downloadfile/5be4184649b52487738554c0f27a35bec/jo32-1.8-3.3v_181031.pdf) described as XTAL OSC XO 8MHZ HCMOS SMD, 50ppm.

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

[![enter image description here](https://i.stack.imgur.com/EMIGw.png)](https://i.stack.imgur.com/EMIGw.png)

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?