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: 
Visitor meigva
Visitor
815 Views
Registered: ‎08-29-2017

Zynq 7010: Is Quad Page Program (0x38) command compatible with Macronix QSPI memory devices?

Hi all,

 

According to Zynq TRM (UG585 v1.12.1) Chapter 12.2.7 there are 8 commands supported in QSPI I/O mode:
- Read (READ, 0x03)
- Fast Read (FAST_READ, 0x0B)

- Read Dual Out (DOR, 0x3B)

- Read Quad Out (QOR, 0x6B)

- Dual I/O Read (DIOR, 0xBB)
- Quad I/O Read (QIOR, 0xEB)
- Page Program (PP, 0x02)
- Quad Page Program (QPP, 32 in case of Spansion and Micron devices. 38 in case of Macronix devices.)
These commands are automatically detected and I/O pins of QSPI interface is driven according to the command.

It is also specified in Quad Page Program description that
Single-bit address sent for every rising edge of clock. Data sent four bits per rising edge of SCLK.”

But this specification does not match the specification of  Quad Page Program command in Macronix datasheet.
For example MX25L25635F,

http://www.macronix.com/Lists/Datasheet/Attachments/6729/MX25L25635F,%203V,%20256Mb,%20v1.5.pdf
Chapter 9-27
MX25L25635F_Datasheet_Figure54.jpg
As shown on Figure 57, Quad Page Program (or 4 x I/O Page Program) command with code 0x38 implies that address is sent not as Single-bit stream, but 4 bits.
Does it mean that Quad Page Program (0x38) command is not compatible with Macronix devices?

Thank you in advance for your support and suggestions.

 

Regards,

 

Tom C.

 

0 Kudos
8 Replies
Moderator
Moderator
738 Views
Registered: ‎03-19-2014

Re: Zynq 7010: Is Quad Page Program (0x38) command compatible with Macronix QSPI memory devices?

Hi Tom,

 

The Macronix MX25L25635F is supported in the Zynq 7000 family AR50991.    For command 38 the 1-1-4 Fast Read is supported, this is shown in table 11 of the Macronix data sheet.   Micron refers to this as "Extended SPI" in their data sheet.

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Visitor iurii
Visitor
697 Views
Registered: ‎04-06-2018

Re: Zynq 7010: Is Quad Page Program (0x38) command compatible with Macronix QSPI memory devices?

Hello.

@glenawrote:

Hi Tom,

 

The Macronix MX25L25635F is supported in the Zynq 7000 family AR50991.    For command 38 the 1-1-4 Fast Read is supported, this is shown in table 11 of the Macronix data sheet. 


Sorry, but could you explain please?
MX25L25635F is indeed in the list of supported devices. And according to Zynq 7000 TRM and Macronix Datasheet, most of the basic Zynq commands are supported by Macronix (and vice versa), including Fast Read command (0x0B).
But there is a mismatch in documentation, that relates to Zynq QSPI I/O Mode and Quad Page Parogram (0x38):
In Zynq TRM it is specified that this command has "1-1-4" format
Zynq QPP cmd.png
while in MX25L25635F  datasheet is is shown that it is "1-4-4".

Regards, Iurii.


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

Re: Zynq 7010: Is Quad Page Program (0x38) command compatible with Macronix QSPI memory devices?

From the Macronix data sheet:

 

macronix.jpg

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Visitor iurii
Visitor
680 Views
Registered: ‎04-06-2018

Re: Zynq 7010: Is Quad Page Program (0x38) command compatible with Macronix QSPI memory devices?


@glenawrote:

From the Macronix data sheet:

 

macronix.jpg


Sorry, but what is the connection between Fast Read (0x0B) and Quad Page Program (0x38) commands?
The main question is: Does Zynq peripheral in QSPI I/O mode send Quad Page Program (0x38) command in (1-1-4) or (1-4-4) format?

Regards, Iurii

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

Re: Zynq 7010: Is Quad Page Program (0x38) command compatible with Macronix QSPI memory devices?

the data sheet shows 0x32 command support on Macronix.   The Zynq solution supports 1-1-4 out of the box.  If you want 1-4-4, you will need to modify the driver on your own for that.  

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Visitor iurii
Visitor
662 Views
Registered: ‎04-06-2018

Re: Zynq 7010: Is Quad Page Program (0x38) command compatible with Macronix QSPI memory devices?


@glenawrote:

the data sheet shows 0x32 command support on Macronix.   The Zynq solution supports 1-1-4 out of the box.  If you want 1-4-4, you will need to modify the driver on your own for that.  


0x32 is just address offset in the parameter table, it has no relation to 0x32 command.
0x32 command is not supported by Macronix devices, 0x38 command is used for Quad Page programming instead, and it has (1-4-4) format according to the datasheet.

In Zynq TRM it is specified that 0x38 command is supported for Macronix devices, but it is also mentioned that “Single-bit address sent for every rising edge of clock. Data sent four bits per rising edge of SCLK.”, that corresponds to (1-1-4) format
Zynq QPP cmd_1.png

To summarize that all, there is an error either in Zynq TRM or Macronix datasheet.
There are 3 possible cases:
- 0x38 command is not supported by Zynq QSPI I/O mode;
- 0x38 command is sent in (1-4-4) format while 0x32 command is sent in (1-1-4) format;
- 0x38 command is sent in (1-1-4) - error in Macronix datasheet;


Regards, Iurii

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

Re: Zynq 7010: Is Quad Page Program (0x38) command compatible with Macronix QSPI memory devices?

I'm an talking with Development on this issue.

 

Regards,

Glen

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Visitor akhiltthomas
Visitor
329 Views
Registered: ‎01-31-2019

Re: Zynq 7010: Is Quad Page Program (0x38) command compatible with Macronix QSPI memory devices?

@glena

Hi,

Is there any further update on this? I would like to know the conclusion.

0 Kudos