From 167617ad2cf3fe448544786f6e6a3b308e2b46fb Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Fri, 8 Mar 2024 14:13:21 +0100 Subject: [PATCH] faster spi --- displayDriver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/displayDriver.c b/displayDriver.c index b9be624..d0d9df2 100644 --- a/displayDriver.c +++ b/displayDriver.c @@ -34,7 +34,7 @@ void displayDriverInit() { UCB0CTL0 = UCMST; // SPI timing config UCB0CTL1 = UCSSEL_3; - UCB0BR0 = 8; + UCB0BR0 = 4; // 2 would be too fast and ends up with errors UCB0BR1 = 0; // BIT5: UCB0CLK