Topic : PLL source HSI not working

Forum : ARM

Original Post
Post Information Post
June 29, 2009 - 6:35am
Guest

Starting with Raisonance standard code for starting HSE (see any of their examples) I have added an 'else' statement to their 'if' statement to go back to using the HSI if it fails. Inside the 'else' statement I use much the same code (PrefetchBuffer, SetLatency, HCLKConfig, etc.), but can't get past the 'while(RCC_GetSYSCLKSource() != 0x08) ;' statement, apparently because the SWS bits in the RCC_CFGR register remain set to HSI (SWS = 00 binary). Anybody know why this should be?
Regards,
H.

Replies
Post Information Post
+1
0
-1
July 1, 2009 - 6:41pm
Guest

Please see see answers in this thread
http://raisonance-forum.xsalto.com/viewtopic.php?id=2860