From 4a43cd398211163b9510798d99fed7f17b02f58f Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Wed, 11 Oct 2023 13:39:04 +0200 Subject: [PATCH] stm32/rcc: LSE xtal is 32768hz, not 32000hz. Fixes #2043 --- embassy-stm32/src/rcc/bd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-stm32/src/rcc/bd.rs b/embassy-stm32/src/rcc/bd.rs index 66ca65f8..a7c4b4f9 100644 --- a/embassy-stm32/src/rcc/bd.rs +++ b/embassy-stm32/src/rcc/bd.rs @@ -89,7 +89,7 @@ impl LsConfig { Self { rtc: RtcClockSource::LSE, lse: Some(LseConfig { - frequency: Hertz(32_000), + frequency: Hertz(32_768), mode: LseMode::Oscillator(LseDrive::MediumHigh), }), lsi: false,