AnsweredAssumed Answered

Any easy way to tell if LSE lock is lost while running: STM32F205

Question asked by sdt99 on Mar 21, 2016
Latest reply on Mar 21, 2016 by waclawek.jan
We have a batch of boards in the field where the LSE crystal may be marginal and I'm wondering if there's a way to check for the LSE losing lock after initially being locked.  That is, if on initial clock setup I get a positive response from RCC_GetFlagStatus(RCC_FLAG_LSERDY), but later the LSE stops.

I've looked at the RCC_BDCR register and it doesn't seem to change, even if I short out the crystal, but I do see the RTC stop advancing.

So is my only option to check for the RTC stopping advancing and use that to flag a problem ?   Thanks in advance