M5213EVB connection problem over QSPI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

M5213EVB connection problem over QSPI

1,510 Views
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,
Labels (1)
0 Kudos
2 Replies

414 Views
fiskom
Contributor I
0 Kudos

414 Views
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 Kudos