cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure External clock in stm32f103 ????

manjunath r
Associate II
Posted on April 30, 2018 at 10:38

Hi,

I'm using STM32F103 board, I connected 8Mhz Quartz crystal to pin PD0 and PD1 ( i.e. OSCIN and OSCOUT). But the oscillator is  not working, even I gave supply to Vbat pin.

Is their any configuration required I software for pin PD0 and PD1 or I missed something???

#clive-one #st-support
1 REPLY 1
Posted on April 30, 2018 at 14:39

Perhaps you should review the design requirements, and then work from there?

http://www.st.com/content/ccc/resource/technical/document/application_note/c6/eb/5e/11/e3/69/43/eb/CD00221665.pdf/files/CD00221665.pdf/jcr:content/translations/en.CD00221665.pdf

 

The clock doesn't start automatically, there is an HSE_ON bit in one of the RCC registers controlling the clocks and PLL

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..