Skip to main content
ydamihux
Associate
February 9, 2015
Question

Running STM32 without crystal

  • February 9, 2015
  • 2 replies
  • 839 views
Posted on February 09, 2015 at 20:47

 

 

The original post was too long to process during our migration. Please click on the attachment to read the original post.
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    February 9, 2015
    Posted on February 09, 2015 at 21:12

    The HSI clock has an asymmetrical duty cycle, so you have to divide it by TWO to get it symmetrical and then multiply by SIXTEEN

    (8 / 2) * 16 = 64

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Tesla DeLorean
    Guru
    February 9, 2015
    Posted on February 09, 2015 at 21:15

    RCC->CFGR |= (uint32_t)(RCC_CFGR_PLLSRC_HSI_Div2 | RCC_CFGR_PLLMULL16);

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