Skip to main content
Lars Beiderbecke
Senior III
Sep 23, 2020 4:57 PM UTC
Solved

Using an oscillator for LSE in battery mode?

Suppose I use an oscillator instead of the suggested resonator for LSE. Will that even work, i.e., will the internal RTC continue to function when in battery mode? I assume that I'd have to power both oszillator and STM32 (using Vbat)?

This topic has been closed for replies.
waclawek.jan
waclawek.janBest answer
Super User
Sep 23, 2020 10:38 PM UTC

Which STM32?

Most probably yes. Don't forget that RCC_BDCR.LSEBYP has to be set. There are mixed reports on whether RCC_BDCR.LSERDY is usable for that case; but that's not fatal.

JW

2 replies

waclawek.jan
waclawek.janBest answer
Super User
Sep 23, 2020 10:38 PM UTC

Which STM32?

Most probably yes. Don't forget that RCC_BDCR.LSEBYP has to be set. There are mixed reports on whether RCC_BDCR.LSERDY is usable for that case; but that's not fatal.

JW

Lars Beiderbecke
Senior III
Sep 24, 2020 5:31 AM UTC

Thanks, I think I will give it a try, but maybe on an old board I have.