From 0874f9fe19e8c7f42df892f2d90d8750db09c865 Mon Sep 17 00:00:00 2001 From: Michael Ossmann Date: Fri, 22 Feb 2013 18:42:17 -0700 Subject: [PATCH] speed up SPI flash data rate --- firmware/common/w25q80bv.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/firmware/common/w25q80bv.c b/firmware/common/w25q80bv.c index 76547914..abfd0ea1 100644 --- a/firmware/common/w25q80bv.c +++ b/firmware/common/w25q80bv.c @@ -39,9 +39,8 @@ void w25q80bv_setup(void) { - /* FIXME speed up once everything is working reliably */ - const uint8_t serial_clock_rate = 32; - const uint8_t clock_prescale_rate = 128; + const uint8_t serial_clock_rate = 2; + const uint8_t clock_prescale_rate = 2; /* configure SSP pins */ scu_pinmux(SCU_SSP0_MISO, (SCU_SSP_IO | SCU_CONF_FUNCTION5));