M5213EVB connection problem over QSPI

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

M5213EVB connection problem over QSPI

1,522 次查看
fiskom
Contributor I
Hello

I've got the M5213EVB and I try to connect it over QSPI with an EEPROM.
I checked all pins of the EEPROM with an oscilloscope, and everything is how I imagined.
But the SlaveOutput.
So can someone take a look at my code (only the QSPI code with an simple routine to write and read data over QSPI).
The important parameters of the EEPROM are listed at the top of the .c-file

thanks in advance for help,
标签 (1)
0 项奖励
2 回复数

426 次查看
fiskom
Contributor I
0 项奖励

426 次查看
stzari
Contributor III
Hi,

I assume that the QSPI interface of the MCF5213 is identical to the one of the 5235 (and the other coldfires) ...
I've had a short look into your sourcecode and noticed one possible problem.
On line 125 you set up QAR to access the command RAM and write 1 :smileyalert: word into it. Then you write 3 :smileyalert: words into the transmit RAM.
This will at best transmit only the first word to over QSPI to your EEPROM.

HTH
Stamatis
0 项奖励