AnsweredAssumed Answered

HSE can not be ready at debug

Question asked by mynickname on Jul 9, 2013
Latest reply on Jan 2, 2014 by marsudi.seniman
In my SetSysClockTo72 function, there is

   /* Wait till HSE is ready and if Time out is reached exit */
  do
  {
 HSEStatus = RCC->CR & RCC_CR_HSERDY;    
    StartUpCounter++;  
  } while((HSEStatus == 0) && (StartUpCounter != HSE_STARTUP_TIMEOUT));

as you know. But the Flag can not be set at debug. and application stuck at that loop.

How can I fix this, how could it be?
I use Keil IDE.

Outcomes