[host, sw] temporarily reduce frequency
- With spi device now running at a slower clock, 1MHz seems to cause some instability.
- This needs to be further debugged.
Signed-off-by: Timothy Chen <timothytim@google.com>
diff --git a/sw/host/spiflash/ftdi_spi_interface.h b/sw/host/spiflash/ftdi_spi_interface.h
index 918860a..9ec0f2e 100644
--- a/sw/host/spiflash/ftdi_spi_interface.h
+++ b/sw/host/spiflash/ftdi_spi_interface.h
@@ -44,7 +44,7 @@
/** FTDI Configuration. This can be made configurable later on if needed.
* Default value is 1MHz. */
- int32_t spi_frequency = 1000000;
+ int32_t spi_frequency = 400000;
};
explicit FtdiSpiInterface(Options options);