嗨,
我正在尝试将SPI闪存中的数据读取到
FPGA。
我正在使用Digilent Atlys
开发板,而板载闪存是Numomyx N25Q128。
我计划使用带有扩展SPI协议的闪存。
它只是将CS驱动为低电平,并在SPI_CLK的上升沿移出指令代码和24位地址。
我在modelsim中模拟了我的代码,一切看起来都很完美。
但是当我将代码下载到FPGA中时,没有收到任何信息。
我的SPI_CLK是6.25MHz。
我给WP / DQ2和HOLD / DQ3引脚提供了高信号。
端口连接如下所示,我还附加了modelsim的模拟波形。
指令代码为03h,地址为180000h。
SPI_CLK => SCK LOC =“R15”
SPI_CS => CS#LOC =“V3”
SPI_din => SDO / DQ1 LOC =“R13”
SPI_dout => SDI / DQ0 LOC =“T13”
SPI_wt => WP#/ DQ2 LOC =“T14”
SPI_hold => HLD#/ DQ3 LOC =“V14”
请帮我看看这个。
我认为外翻是正确的,但为什么我不能收到任何东西。
以上来自于谷歌翻译
以下为原文
Hi,
I am trying to read the data from SPI flash memory to the FPGA. I am using Digilent Atlys development board and the on board flash is Numomyx N25Q128.
I was planning to use the flash with extended SPI protocol. It's just driving the CS low and then shif
ting out the instruction code and 24 bit address on the rising-edge of the SPI_CLK. I simulated my code in modelsim and everything looked perfectly. But when I downloaded the code into the FPGA, nothing received.
my SPI_CLK is 6.25MHz. I gave high signal to WP/DQ2 and HOLD/DQ3 pin.
the port connection is shown below and I also attached my simulation waveform from modelsim. the instruction code is 03h and address is 180000h.
SPI_CLK => SCK LOC = "R15"
SPI_CS => CS# LOC = "V3"
SPI_din => SDO/DQ1 LOC = "R13"
SPI_dout => SDI/DQ0 LOC = "T13"
SPI_wt => WP#/DQ2 LOC = "T14"
SPI_hold => HLD#/DQ3 LOC = "V14"
Please help me to look at this. I think everthing is correct but why I can not receive anything.
0