Skip to main content
Graduate
September 5, 2025
Solved

How to brust write by using FSMC?

  • September 5, 2025
  • 2 replies
  • 979 views

I am trying to send data from STM32 to the FPGA by using FSMC.

My goal is to send data as fast as possible so I set FMC clock to be maximum speed and set sram clock cycles to be as low as possibe.

clock.png

FSMC setting.png

I use FPGA internal Logic Analyzer to capture data from FSMC and the result is shown as below.

sram send data.png

code.png

I found that the data was sent one by one instead of burst mode(send data continuously) and the speed was well below requirement... I want to know how to use burst mode in FSMC?(Since I am using an FPGA to receive data so any mode is ok(PSRAM, SRAM, SDRAM, nano flash, etc)) 

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

    Hello @snkparty1;

     

    According the reference manual RM0090 section "36.1 FSMC main features",  the FMSC supports burst mode access to synchronous devices (NOR flash and PSRAM).

     

    KDJEM1_0-1758795535339.png

    You can select a burst write in STM32CubeMX configuration.

    KDJEM1_1-1758795654865.png

    Thank you.

    Kaouthar

     

    2 replies

    KDJEM.1Answer
    Technical Moderator
    September 25, 2025

    Hello @snkparty1;

     

    According the reference manual RM0090 section "36.1 FSMC main features",  the FMSC supports burst mode access to synchronous devices (NOR flash and PSRAM).

     

    KDJEM1_0-1758795535339.png

    You can select a burst write in STM32CubeMX configuration.

    KDJEM1_1-1758795654865.png

    Thank you.

    Kaouthar

     

    Technical Moderator
    September 25, 2025

    Hello @snkparty1 ,

    Apart what @KDJEM.1 said, and according to this thread and this thread: "I tried this on an STM32F429 and the test was successful" it seems you solved the issue. Could you please confirm? and provide the solution?

    snkparty1Author
    Graduate
    September 25, 2025

    Sorry, I forgot this topic. Yes, PSRAM has burst mode. I accepted his answer as the solution. Thanks