AnsweredAssumed Answered

Startup Clock HSI

Question asked by plasmaphase on May 1, 2012
Latest reply on May 2, 2012 by plasmaphase
I'm simply looking to have the STM32F4 startup using the HSI clock (at the default 16MHz).  How best can this be accomplished (if it's not already default).  What clock does the STM32F4 natively startup using?  I was thinking this would work:

static void SetSysClock(void)
{
     /* RCC system reset(for debug purpose) */
     RCC_DeInit();
     
     // Enable HSI Clock and wait until it's ready
     RCC_HSICmd(ENABLE);
     while(RCC_GetFlagStatus(RCC_FLAG_HSIRDY) == RESET);
}

Outcomes