cancel
Showing results for 
Search instead for 
Did you mean: 

LSE OSC Fail in STM32F107

HamidRezaMaddah
Associate III
Posted on November 27, 2016 at 07:22

Dear,

I am using STM32F107 with External 32KHz crystal and backup battery in my product.

sometimes in power on, after:

  RCC_LSEConfig(RCC_LSE_ON);

then wait for LSE readey :

while (RCC_GetFlagStatus(RCC_FLAG_LSERDY) == RESET);

The program stay in the ''while''

The problem won't solve, till , I power off the board and remove the backup battery.

Is there any solution to work LES without removing the backup battery?

Best Regards

Hamidreza

#crash #stm32 #lse
1 REPLY 1
Nesrine M_O
Lead II
Posted on November 29, 2016 at 14:32

Hi Hamidreza,

I'd highly recommend you to have a look to the

http://www.st.com/content/ccc/resource/technical/document/application_note/c6/eb/5e/11/e3/69/43/eb/CD00221665.pdf/files/CD00221665.pdf/jcr:content/translations/en.CD00221665.pdf

 about Oscillator design guide for STM8S, STM8A and STM32 microcontrollers it may be very helpful

-Syrine-