Skip to main content
Visitor II
March 24, 2025
Solved

No Example QSPI SDK for STM32F413H

  • March 24, 2025
  • 2 replies
  • 763 views

Hi i am using Nucleo - F413ZH i need to work on the QSPI protocol i found this device supports QSPI but in the repository i doesn't find any example code for this one is this device supports QSPI? or is there any similar sdk so that we can import projects form other repository
I tried with the example code present in the STM32F413H-Discovery repository but i doesn't got output

avinpat_8_0-1742817721795.png

 

    This topic has been closed for replies.
    Best answer by KDJEM.1

    Hello @avinpat_8;

     

    There are no QSPI examples for Nucleo - F413ZH.

    Which memory is connected to the QUADSPI interface?

    The QSPI examples are configured according to memory specifications.

    The QSPI examples for STM32F413H-DISCOVERY board are tested with N25Q128A13EF840 micron, so you need to update the QSPI configuration in main.c and the command operation in main.h according to the memory you've used.

    KDJEM1_0-1742818184560.png

    I recommend you to look at the QSPI example and get inspired to create your own project.

    Also, I advise you to look at AN4760 precisely 4. QUADSPI configuration section. This section describes all QUADSPI configuration steps required to perform either read, write or erase operations.

    I hope this help you.

    Thank you.

    Kaouthar

     

    2 replies

    Technical Moderator
    March 24, 2025

    Hello,

    You provided a contradictory information:


    @avinpat_8 wrote:

     i found this device supports QSPI but in the repository i doesn't find any example code for this one is this device supports QSPI? 


    Then you said:


    @avinpat_8 wrote:

    I tried with the example code present in the STM32F413H-Discovery repository but i doesn't got output


    So the example is there. Why you said that the repository doesn't contain any QSPI example?

    And this is the repository containing the QSPI examples: https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM32F413H-Discovery/Examples/QSPI

    The examples don't contain any ioc file.

    avinpat_8Author
    Visitor II
    March 24, 2025

    Hi can you check this repository where i have attached image

    sorry for you confusion my point is QSPI sdk is present in the  STM32F413H-Discovery but my board is  Nucleo - F413ZH but in the repo of STM32F413ZH-Nucleo it is not present what my point is whether the device  Nucleo - F413ZH supports QSPI as i saw in STMcubeMX that peripheral was present

    avinpat_8_0-1742818305211.png

     

     

    avinpat_8_0-1742817871533.png

     

    Technical Moderator
    March 24, 2025

    You are pointing to the NUCLEO board not to the Discovery board.

    The NUCLEO board doesn't contain any external memory.

    If you look for QSPI example running on STM32F413 device you need to check the example running on the Discovery board:

    https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM32F413H-Discovery/Examples/QSPI

    Hope that answers your question.

    KDJEM.1Answer
    Technical Moderator
    March 24, 2025

    Hello @avinpat_8;

     

    There are no QSPI examples for Nucleo - F413ZH.

    Which memory is connected to the QUADSPI interface?

    The QSPI examples are configured according to memory specifications.

    The QSPI examples for STM32F413H-DISCOVERY board are tested with N25Q128A13EF840 micron, so you need to update the QSPI configuration in main.c and the command operation in main.h according to the memory you've used.

    KDJEM1_0-1742818184560.png

    I recommend you to look at the QSPI example and get inspired to create your own project.

    Also, I advise you to look at AN4760 precisely 4. QUADSPI configuration section. This section describes all QUADSPI configuration steps required to perform either read, write or erase operations.

    I hope this help you.

    Thank you.

    Kaouthar

     

    avinpat_8Author
    Visitor II
    March 24, 2025

    Hi Kaouthar thanks for your reply i got your point

    Technical Moderator
    March 24, 2025

    If your question has been answered please accept as solution the comment that answered your question.