Skip to main content
Explorer II
April 3, 2024
Solved

External QSPI flashes directly supported by ST

  • April 3, 2024
  • 2 replies
  • 2391 views

Hello community,

Are there any QSPI external flashes that are directly supported by ST in the form of drivers and external loaders that we can use for our project ? 

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello,

    The external flash loaders supported by ST are provided here.

    2 replies

    Explorer II
    April 3, 2024

    Hardly: You may skim through the various CubeMX packages for examples (in particular for the Discovery and Eval boards). However, by using one of these you will be nailed down to the very same pin configuration. The pins used for QSPI and OctoSPI interfaces are configurable (in limited ways). And as soon you configure even a single pin differently, you have to change the driver and external loader appropriately ...

    At least for the external loader you're better off with OpenOCD and the integrated stmqspi driver, as there the pin configuration is strictly separated from the driver and handled in a simple script. Even configuration of the flash chip itself can be handled easily in a script. Hence no need to rebuild anything ...

    Graduate II
    April 3, 2024

    for example

    MT25QL128ABA1EW9-0SIT

    it is 128 Mbit flash

    it is on a few discovery boards, it has a lot of examples which come with the boards

    so it is easy to connect. all QSPI work the same way. if you got this one working then you can try another one

    you need to initialize it then configure by sending a few commands

     

    and you are ready to write and read from it. or use as external loader

    article

    AN333, Autumn 2020, v1.0 (use google to find)

    will show you how to use it as external loader

     

     

     

    rohan_mAuthor
    Explorer II
    April 3, 2024

    Any variant s with 256 Mbit ? Will this work -> N25Q256A. Is it supported ?

    mƎALLEmAnswer
    Technical Moderator
    April 3, 2024

    Hello,

    The external flash loaders supported by ST are provided here.