summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q3/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/q3/config.h')
-rw-r--r--keyboards/keychron/q3/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/keychron/q3/config.h b/keyboards/keychron/q3/config.h
index 59b9e0f54b..4c62c589bd 100644
--- a/keyboards/keychron/q3/config.h
+++ b/keyboards/keychron/q3/config.h
@@ -31,6 +31,13 @@
#define DRIVER_ADDR_1 0b1110111
#define DRIVER_ADDR_2 0b1110100
+/* Increase I2C speed to 1000 KHz */
+#define I2C1_TIMINGR_PRESC 0U
+#define I2C1_TIMINGR_SCLDEL 3U
+#define I2C1_TIMINGR_SDADEL 0U
+#define I2C1_TIMINGR_SCLH 15U
+#define I2C1_TIMINGR_SCLL 51U
+
/* Scan phase of led driver set as MSKPHASE_9CHANNEL(defined as 0x03 in CKLED2001.h) */
#define PHASE_CHANNEL MSKPHASE_9CHANNEL