STM32 External HSE crystal not working
STM32 model : STM32F413CGU6
25MHz crystal : https://media.digikey.com/pdf/Data%20Sheets/AVX%20PDFs/CX3225GA_Series_Spec.pdf
The problem is that I can not connect STM32 by STM32 Cube Programmer. The programmer can not detect STM32 unless I desolder the crystal. When I desolder the crystal I can easily connect and program my STM32.
The schematic :
I probe the pins of the crystal. I observed the waves with 180 degree phase shift:
- 25MHz oscillation between 1,5Vdc to 2Vdc for OSCIN pin
- 25MHz oscillation between 1,37Vdc to 2,33Vdc OSCOUT pin
The layout :
Here are what I’ve tried so far and none of those seemed to work.
- Change 8pF caps with 15pF / 18pF / 4pF.
- Change 0Rs with 800Rs. (800 is found by Drive level calculations indicated in STM’s oscillator design guide. I suspected drive level might be the issue.)
- Change 0Rs with 22R.
- R2=0R, R1=22R
- R2=0R, R1=800R
Any help will be appreciated.
Thanks.