SDR mode and DDR mode switch.

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

SDR mode and DDR mode switch.

Jump to solution
1,855 Views
takashitakahash
Contributor III

Hi community.

VYBRIDRSERIESEC_Rev_7.PDF p58 "9.5.1 QuadSPI timing" description of "SDR mode"or"DDR mode",

but QSPIFlashROM by the command switches DDR and SDR.

This sheet described in the "SDR mode", "DDR mode" is bit7 of QuadSPI0_MCR register: will be set to "1"  of DDR_EN?

Or refers to the mode of behavior when using the DDRRead/Write command and the SDRRead/Write command?

Labels (1)
0 Kudos
1 Solution
686 Views
r8070z
NXP Employee
NXP Employee


Have a great day,

DDR Mode is enabled by setting the QSPI_MCR[DDR_EN].

The sampling register (QSPI_SMPR) should also be configured. When the serial flashes function in DDR mode the time for which the data is actually valid is smaller than half a clock cycle, it requires that we provide closely spaced sampling points.

Note that some flash vendors provide the DQS signal to which the read data is aligned in DDR mode (Spansion for example). When the DQS signal is used, the  QSPI_MCR[DQS_EN] must be set.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
687 Views
r8070z
NXP Employee
NXP Employee


Have a great day,

DDR Mode is enabled by setting the QSPI_MCR[DDR_EN].

The sampling register (QSPI_SMPR) should also be configured. When the serial flashes function in DDR mode the time for which the data is actually valid is smaller than half a clock cycle, it requires that we provide closely spaced sampling points.

Note that some flash vendors provide the DQS signal to which the read data is aligned in DDR mode (Spansion for example). When the DQS signal is used, the  QSPI_MCR[DQS_EN] must be set.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos