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: 
Highlighted
388 Views
Registered: ‎09-30-2011

Can QSPI0 and QSPI1 be used independently on Zynq?

I have studied the TRM and I am still perplexed about whether I can use QSPI0 and QSPI1 as two independent QSPI ports post boot and if so, how do I tell Linux in the device tree that is what I am doing. 

 

Specifically, I want to boot from QSPI0 in Single SS, 4 bit mode. That should happen automatically because, according to the TRM, the configuration logic will read QSPI0, find the necessary sentinel bits and start the boot sequence without going to QSPI1 at all (at least, that is how I understood it).

 

Then, if that works, I want to access QSPI1 as a separate memory at run time. But I don't see how to define the device tree to distinguish QSPI0 and QSPI1.

 

I am starting to believe the only way to accomplish this is to go to Dual SS, 4 bit stacked-IO mode but I see conflicting capability indications in the TRM like this:

 

Each side of the dual controller port can be individually enabled or operate together as an 8-bit I/O
interface. (Section 12.5.3)

 

Can anyone illuminate me?

0 Kudos
4 Replies
Moderator
Moderator
337 Views
Registered: ‎03-19-2014

Re: Can QSPI0 and QSPI1 be used independently on Zynq?

QSPI is designed to be used 1 of 3 ways, QSPI single, QSPI dual-parallel or QSPI dual-stacked.    For Dual-Parallel operation, Xilinx software assumes the parts are used together to create an 8-bit data bus.    From what you described for your design goals, I would suggest QSPI dual-stacked, which creates a linear QSPI address space, use only the lower QSPI for boot and map the upper QSPI for your application needs.

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
313 Views
Registered: ‎09-30-2011

Re: Can QSPI0 and QSPI1 be used independently on Zynq?

Thanks for your response. So the sentence in the TRM that states that:

 

Each side of the dual controller port can be individually enabled (Section 12.5.3)

 

is incorrect and should be deleted?

 

0 Kudos
Moderator
Moderator
307 Views
Registered: ‎03-19-2014

Re: Can QSPI0 and QSPI1 be used independently on Zynq?

The controller allows for separate control, the Xilinx provided software does not.   You are more than welcome to write your own driver to use the QSPI devices independently. 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
287 Views
Registered: ‎09-30-2011

Re: Can QSPI0 and QSPI1 be used independently on Zynq?

Thanks for the clarification.

0 Kudos