1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From 84d800eaeba222394c1f3b2232ce8f4cedc4c370 Mon Sep 17 00:00:00 2001
From: Tobias Schneider <schneider@blinkenlichts.net>
Date: Mon, 27 Jul 2015 09:25:18 +0200
Subject: [PATCH 62/68] fix(hackrf-core): Disable unused clock outputs
They generate noise and are most likely not used
---
firmware/common/hackrf_core.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--- a/firmware/common/hackrf_core.c
+++ b/firmware/common/hackrf_core.c
@@ -815,7 +815,11 @@
scu_pinmux(SCU_PINMUX_LED3, SCU_GPIO_NOPULL);
scu_pinmux(SCU_PINMUX_EN1V8, SCU_GPIO_NOPULL);
-
+
+ /* Disable unused clock outputs. They generate noise. */
+ scu_pinmux(CLK0, SCU_CLK_IN | SCU_CONF_FUNCTION7);
+ scu_pinmux(CLK2, SCU_CLK_IN | SCU_CONF_FUNCTION7);
+
/* Configure USB indicators */
#if (defined JELLYBEAN || defined JAWBREAKER)
scu_pinmux(SCU_PINMUX_USB_LED0, SCU_CONF_FUNCTION3);
|