AnsweredAssumed Answered

STM32l152-VB _Start up

Question asked by Ahmad.Ibrahim on Nov 14, 2012
Latest reply on Nov 22, 2012 by Smart65
Hello,
i need help

When debugging my code ,,there is an infinite loop at start up section,,,although i did all clk configuration

For example

@file    system_stm32l1xx.c

  /* 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));


Is there any opinion for solving this problem?...


Thanks in advance 

Outcomes