Skip to main content
Associate
May 22, 2024
Question

QSPI DDR

  • May 22, 2024
  • 4 replies
  • 2548 views

STM32F769I Disc:Is the function of stm32f769i dico's QSPI DDR normal?When I used the ddr mode, I could send data using 1line, but when I used 4line, the device was busy until the timeout error occurred, and the data could not be sent normally.However, when configured in sdr mode, data can be sent normally.

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
May 22, 2024

Tend to have to watch the bandwidth of the memory and the dummy cycle setting so the read buffers can pre-load

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
shanxingAuthor
Associate
May 22, 2024

I simply send the data, do not consider reading, with 4line ddr can not be sent。

KDJEM.1
ST Technical Moderator
May 23, 2024

Hello @shanxing and welcome to the community :),

Please make sure that SSHIFT should be set to QSPI_SAMPLE_SHIFTING_NONE instead of QSPI_SAMPLE_SHIFTING_HALFCYCLE

Is the Timeout counter enable?

Could you please share your project?

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
shanxingAuthor
Associate
May 27, 2024

Hello KDJEM.1:

  First, I had set SSHIFT to QSPI_SAMPLE_SHIFTING_NONE  already.

  Second,the timeout error is from QSPI HAL Lirary function "HAL_QSPI_Transmit(hqspi, pData, HAL_QPSI_TIMEOUT_DEFAULT_VALUE)", because of the device flag of BUSY is still setting even after sending all data,so occurring timeout error.

  However,as long as the ddr mode is disabled(sCommand.DdrMode = QSPI_DDR_MODE_DISABLE),the above error will not occur.