cancel
Showing results for 
Search instead for 
Did you mean: 

Running STM32 without crystal

ydamihux
Associate
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.
2 REPLIES 2
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
Up vote any posts that you find helpful, it shows what's working..
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
Up vote any posts that you find helpful, it shows what's working..