mirror of
https://github.com/litex-hub/litex-boards.git
synced 2025-01-03 03:43:36 -05:00
arty: Switch SPI Flash rate to 1:2 (DDR) (Possible on Arty since SPI Flash's clk does not require use of STARTUPE2).
On the Digilent Arty, the SPI Flash's clk is connected to CCLK (that can be driven through the STARTUPE2) but also to another generic IO that can be use to drive the clock through DDR primitives.
This commit is contained in:
parent
aa2209729f
commit
7fa22a494b
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class BaseSoC(SoCCore):
|
|||
if with_spi_flash:
|
||||
from litespi.modules import S25FL128L
|
||||
from litespi.opcodes import SpiNorFlashOpCodes as Codes
|
||||
self.add_spi_flash(mode="4x", module=S25FL128L(Codes.READ_1_1_4), with_master=True)
|
||||
self.add_spi_flash(mode="4x", module=S25FL128L(Codes.READ_1_1_4), rate="1:2", with_master=True)
|
||||
|
||||
# Leds -------------------------------------------------------------------------------------
|
||||
if with_led_chaser:
|
||||
|
|
Loading…
Reference in a new issue