03-21-2011 09:18 AM
Hi,
Is there a good tutorial for how to connect SPI Flash ROM and MicroBlaze?
Thank you.
03-21-2011 02:03 PM
You have two choices for interfacing to SPI flash ROM:
1. MicroBlaze bit-bang
2. Conventional HW SPI interface, with byte-level or word-level interface to MicroBlaze.
If you really want to go the bit-bang route, just search for "SPI PicoBlaze". One of the XAPP reference designs for Picoblaze is a bit-bang SPI interface.
- Bob Elkind
03-22-2011 06:30 AM
Do you have a development board? Base System Builder will connect a SPI Flash for you. I suspect any dev. board with SPI Flash will show you how in the Intro to MicroBlaze tutorial for that board.
Bryan
03-22-2011 06:36 AM
I use Digilent Atlys board. I couldn't see any tutorial so far.
Thanks.
03-22-2011 07:26 AM - edited 03-22-2011 07:29 AM
Hi,
I would run the Atlys reference design provided on the digilent website (to use under XPS 12.x). In that way you are already sure to have to good system assembly. (probably you might want delete the TEMAC instance and all its ports in the UCF file... if you dont have the license for TEMAC).
I also saw that digilent uses their own IP core for the SPI and there is also a small code that added that will test the SPI ... so this should work out OK I think.
Serge
03-22-2011 10:08 AM
@yildiz.a wrote:
I use Digilent Atlys board. I couldn't see any tutorial so far.
Thanks.
Do you want to use the SPI memory as general-purpose data storage, or for the micro's program?
03-22-2011 10:42 AM
@bassman59 wrote:
@yildiz.a wrote:
I use Digilent Atlys board. I couldn't see any tutorial so far.
Thanks.
Do you want to use the SPI memory as general-purpose data storage, or for the micro's program?
As a first step, I want to learn how to do general-purpose data transfer, then I want my code to run from SPI flash memory.
Thank you.