Skip to main content
MDi L.9
Associate
December 19, 2018
Question

How to obtain a Burst Write and/or read of external PSRAM

  • December 19, 2018
  • 2 replies
  • 1177 views

I think the configuration is OK but I don't know how to have a burst Write and/or Read operation.

My goal is to have the fastest possible data transfer with a burst lenght of 128 bytes.

Having a look at HAL I can't identify the correct function to be used and I can't find any AN or Example that use burst transfers.

Any help is welcome.

    This topic has been closed for replies.

    2 replies

    waclawek.jan
    Super User
    December 19, 2018

    Bursts are enabled by setting FSMC/FMC_BCRx.BURSTEN for read, and FSMC/FMC_BCRx.CBURSTRW for write.

    The FSMC/FMC chapters in RMs are not very concisely written so you might need to experiment with your particular memory.

    JW

    MDi L.9
    MDi L.9Author
    Associate
    December 21, 2018

    Hi JW.

    Thank you for your answer.

    So, if I understood correctly: as

    soon as the FMC is correctly configured any access to that memory area should

    be managed through a burst read and/or write.

    No need to use special function to

    achieve it.

    Is it correct?

    I will check my initialization and

    go on with few tests in the next days.

    Thanks, and regards

    Maurizio