AnsweredAssumed Answered

Stm32f429, RTC and LSE Problem

Question asked by hancer.celal on Sep 16, 2017
Latest reply on Nov 20, 2017 by Zhitai Liu



I have a problem with rtc.

When I use LSI with RTC everything ok.

But when I select LSE, program stuct at void _Error_Handler.


The problem is at this function.


while((hrtc->Instance->ISR & RTC_ISR_INITF) == (uint32_t)RESET)
   if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
      return HAL_TIMEOUT;

I changed RTC_TIMEOUT_VALUE 1000 to 9000 but still not OK.

How can I solve this problem ?


I use stm32f429i discovery board (I had already soldered 32.762khz xtall) and

my .ioc file at link, and  I use cubemx ver 4.21.0 and keil.

Dropbox - akv_prjct.ioc 


Best regards