From 809a06e18c583539a47575f70a876f9c99f0b1f6 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 25 May 2021 22:43:38 +0200 Subject: Change sysclk to 32MHz to avoid i2c noise at 144.320MHz --- sw/picardy/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') diff --git a/sw/picardy/src/main.rs b/sw/picardy/src/main.rs index d354fbc..ad3cbd1 100644 --- a/sw/picardy/src/main.rs +++ b/sw/picardy/src/main.rs @@ -98,7 +98,7 @@ fn main() -> ! { let mut afio = dp.AFIO.constrain(&mut rcc.apb2); let clocks = rcc.cfgr .use_hse(16.mhz()) - .sysclk(48.mhz()) + .sysclk(32.mhz()) .pclk1(24.mhz()) .adcclk(2.mhz()) .freeze(&mut flash.acr); -- cgit v1.2.3