Skip to main content
manjunath r
Associate
April 30, 2018
Question

How to configure External clock in stm32f103 ????

  • April 30, 2018
  • 1 reply
  • 1494 views
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
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    April 30, 2018
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..