UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Voyager
Voyager
2,638 Views
Registered: ‎05-31-2012

Is Micron spi Nand supported by axi quad spi?

Jump to solution

Hi, i have a 

MT29F4G01ADAGDWB-IT

nand flash. It has SPI and extended SPI interface.

I configured the Axi quad spi core in quad spi and slave device set to Micron.

I then tried to perform a reset command (code 0xFF) and a get features command (code 0x0F)

when i read the core status register i read Command Error.

I would like to know if i have to set the core in a different way and if this flash is supported.

Thanks

0 Kudos
1 Solution

Accepted Solutions
Voyager
Voyager
3,809 Views
Registered: ‎05-31-2012

Re: Is Micron spi Nand supported by axi quad spi?

Jump to solution

Why shouldn't Vivado support more than 2Gb?

If i configure the axi quad spi in standard SPI mode, i can read and write the flash, because the Command Error in the core is disabled.

0 Kudos
13 Replies
Moderator
Moderator
2,587 Views
Registered: ‎04-12-2017

Re: Is Micron spi Nand supported by axi quad spi?

Jump to solution

Hello @mrbietola,

 

Along with which device you are using this flash ?

Also which tool has been used here in your application ?

 

Thank you.

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Moderator
Moderator
2,582 Views
Registered: ‎05-02-2017

Re: Is Micron spi Nand supported by axi quad spi?

Jump to solution

Hi @mrbietola,

 

can you  please share the block diagram how you have interconnect them  and also please do share the information of the FPGA part number and as well as the Version of vivado or  ISE tool in order to debug more on this issue .

 

 

thanks

S .Chandra sekhar

Regards
Chandra sekhar
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if solution provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Voyager
Voyager
2,572 Views
Registered: ‎05-31-2012

Re: Is Micron spi Nand supported by axi quad spi?

Jump to solution

I use an artix xc7a200tsbg484-2,

Vivado 2017.3
Axi quad Spi is configured
Mode quad
Slave micron
Fifo width 16
Ext spi clock = axi lite clock = 100MHz

I tried to configure the axi quad spi in standard mode, this time i don't see the command error, but as in the previous case the XSpi_Transfer function is stuck when polling the transmit empty status bit

0 Kudos
Moderator
Moderator
2,562 Views
Registered: ‎04-12-2017

Re: Is Micron spi Nand supported by axi quad spi?

Jump to solution

Hello @mrbietola,

 

The flash you trying to find support for is of size 4Gb .

Vivado tool does not support flashes more thatn of Size 2Gb.

So the MT29F4G01ADAGDWB-IT is not supporting flash.

 

Thank you.

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Voyager
Voyager
3,810 Views
Registered: ‎05-31-2012

Re: Is Micron spi Nand supported by axi quad spi?

Jump to solution

Why shouldn't Vivado support more than 2Gb?

If i configure the axi quad spi in standard SPI mode, i can read and write the flash, because the Command Error in the core is disabled.

0 Kudos
Moderator
Moderator
2,530 Views
Registered: ‎04-12-2017

Re: Is Micron spi Nand supported by axi quad spi?

Jump to solution

Hello @mrbietola,

 

By "It doesn't support in VIVADO means" Xilinx has not tested that flash with that particular device.

It doesn't mean that it can't work with the Artix-7.

 

Vivado can't be used in this case for programming the flash. It will give ID code error.

 

Hope this answers your query.

Thank you.

 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Participant bgw_bogdan
Participant
2,009 Views
Registered: ‎07-26-2013

Re: Is Micron spi Nand supported by axi quad spi?

Jump to solution

@mrbietola Did you manage to make it work? I'm using the same chip, but I'm struggling with XSpi driver. I'm using Vivado 2017.2. No matter what I change there is no clock or data output. Only CS signal is active for two clock cycles or in some cases stays active (active low)....

 

Could you please share your experience with this flash. 

Thank you in advance. 

 

 

0 Kudos
Voyager
Voyager
1,990 Views
Registered: ‎05-31-2012

Re: Is Micron spi Nand supported by axi quad spi?

Jump to solution

Configure it in standard spi flash mode.

We than decided to remove the NAND flash in favor of a NOR flash because is much more simple to manage and supported by the tools. Nand flash needs more accurate control over it, you could need an operating system or very complex software.

0 Kudos
Participant bgw_bogdan
Participant
1,982 Views
Registered: ‎07-26-2013

Re: Is Micron spi Nand supported by axi quad spi?

Jump to solution

@mrbietola Thanks! 

 

But if I use example from \XilinxProcessorIPLib\drivers\spi_v4_2\examples\xspi_numonyx_flash_quad_example.c I think I should get at least clock from the AXI QUAD SPI IP core, for the first transaction, no matter what SPI flash is present on the other side? Even if my settings are wrong for this chip ? Am I right? 

 

I will attach my design, it's very simple. Only MicroBlaze, UART and QUAD SPI core. Do I need something else there? 

design.png
0 Kudos
Voyager
Voyager
1,252 Views
Registered: ‎05-31-2012

Re: Is Micron spi Nand supported by axi quad spi?

Jump to solution

You should configure the axi quad spi correctly to match your flash, and i can assure you it will work only in standard spi mode, in the other case the axi quad spi will give a command error and no output

0 Kudos
Participant bgw_bogdan
Participant
1,238 Views
Registered: ‎07-26-2013

Re: Is Micron spi Nand supported by axi quad spi?

Jump to solution

I don't understand. You want to tell me that AXI QUAD SPI IP core is not working in QUAD mode and those examples (like xspi_numonyx_flash_quad_example.c) are not working at all? Even if I use N25Q128 device for example?

It's very strange to me...

 

Has anyone run into the same problem before?

 

0 Kudos
Voyager
Voyager
1,189 Views
Registered: ‎05-31-2012

Re: Is Micron spi Nand supported by axi quad spi?

Jump to solution

i'm talking about the nand, other flashes can work of course

0 Kudos
Visitor marlapraveen
Visitor
46 Views
Registered: ‎07-15-2019

Re: Is Micron spi Nand supported by axi quad spi?

Jump to solution

can i get a example C code to access to use this?

Is it necessary to have interrupt to use this qspi.

0 Kudos