About Quad SPI

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

About Quad SPI

846 Views
goto11
Contributor III

Hello,

I am designing a circuit with DDR mode with internal sampling with Quad SPI.

I have two questions.

 

No1

The following is described in the NOTE of 10.2.12 Output timing in DDR mode of i.MX 7Dual Applications Processor Reference Manual.

Where is TX_DDR_DELAY_EN the Field of the register?

TX_DDR_DELAY_EN should be set to 1 for DDR mode.

 

No2

The Serial Clock Frequency in Table 6-50 (Quad SPI configuration parameters) can be set up to 76 MHz in DDR mode.

The half cycle of 76MHz is 6.57ns. ((1 / 76MHz) / 2)

On the other hand, the TIS of Table 82 (Quad SPI Input / Read Timing) of the data sheet states that it is min 8.67ns.

Since the half cycle of 76MHz is shorter than 8.67ns, can't it be used at 76MHz?

Is my way of thinking wrong?

 

best regards
Goto

Labels (1)
0 Kudos
3 Replies

827 Views
joanxie
NXP TechSupport
NXP TechSupport

1) refer to the chapter 51.13.1 Module Configuration Register (QuadSPIx_MCR) of imx6sx reference manual, you can find bit 29 TX_DDR_DELAY_EN, I think imx7d should be same

2) if Serial Clock Frequency is 76Mhz, then ths SCK=1/76=13.15ns> Tis+Tih, so I think this is ok

0 Kudos

824 Views
goto11
Contributor III

Hello,

In DDR mode, the data is updated with half clock,

so do you think SCK = (1/76MHz)/2 = 6.57ns> Tis + Tih should be set?

 

goto11_0-1611128459314.png

best regards
Goto

0 Kudos

811 Views
joanxie
NXP TechSupport
NXP TechSupport

I know what you mean, Since it shall send Read command before reading, the QSPI READ clock frequency is set same as WRITE one in practice. The DTR(DDR) READ clock frequency is limited by Setup time (Tis = 8.67nS Min) and Hold time (Tih = 0nS Min). The minimum DTR WRITE SCK Clock Period is Tck = 20nS for i.mx7D, and it is enough for Tis = 8.67nS Min and Tih = 0nS Min.

 

0 Kudos