From 5bd5085cf12a4c7a3c11e7542f66c71efa3fe9f4 Mon Sep 17 00:00:00 2001 From: Tobias Schneider Date: Mon, 27 Jul 2015 09:22:18 +0200 Subject: [PATCH] fix(hackrf-core): Disable unused clock source to the MCU It is not used and creates noise. --- firmware/common/hackrf_core.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/firmware/common/hackrf_core.c b/firmware/common/hackrf_core.c index 358e5597..21d0500c 100644 --- a/firmware/common/hackrf_core.c +++ b/firmware/common/hackrf_core.c @@ -320,9 +320,15 @@ void cpu_clock_init(void) si5351c_configure_multisynth(4, 20*128-512, 0, 1, 0); /* 800/20 = 40MHz */ /* MS6/CLK6 is unused. */ + /* MS7/CLK7 is the source for the LPC43xx microcontroller. */ + +#if 0 + /* Clock is deactivated as it is not used and creates noise */ uint8_t ms7data[] = { 90, 255, 20, 0 }; si5351c_write(ms7data, sizeof(ms7data)); +#endif + #endif /* Set to 10 MHz, the common rate between Jellybean and Jawbreaker. */