projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9e319f
)
altos: Bump ST7565 speed to 20MHz
author
Keith Packard
<keithp@keithp.com>
Sat, 27 Jan 2024 23:30:27 +0000
(15:30 -0800)
committer
Keith Packard
<keithp@keithp.com>
Thu, 1 Feb 2024 01:50:19 +0000
(17:50 -0800)
Go as fast as we can manage
Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_st7565.h
patch
|
blob
|
history
diff --git
a/src/drivers/ao_st7565.h
b/src/drivers/ao_st7565.h
index 1dad97cc72d7ca2619a3bf13917f4760a53b2638..b5627f3be24cf8340c949ddf19fc8f78b56eb54f 100644
(file)
--- a/
src/drivers/ao_st7565.h
+++ b/
src/drivers/ao_st7565.h
@@
-81,7
+81,8
@@
#define ST7565_BOOSTER_RATIO_SET 0xf8
#define ST7565_NOP 0xe3
-#define AO_ST7565_SPI_SPEED ao_spi_speed(AO_ST7565_SPI_BUS, 10000000)
+/* Max 50ns SPI clock time */
+#define AO_ST7565_SPI_SPEED ao_spi_speed(AO_ST7565_SPI_BUS, 20000000)
void
ao_st7565_update(struct ao_bitmap *bitmap);