2024-05-22 12:11 AM - last edited on 2024-09-24 05:24 AM by Amel NASRI
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.
2024-05-22 12:15 AM
Tend to have to watch the bandwidth of the memory and the dummy cycle setting so the read buffers can pre-load
2024-05-22 12:32 AM
I simply send the data, do not consider reading, with 4line ddr can not be sent。
2024-05-23 06:57 AM
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 Accept as Solution on the reply which solved your issue or answered your question.
2024-05-27 02:31 AM
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.