Skip to main content
Graduate II
March 26, 2025
Question

Configuration of STM32H725 OCTOSPI with Delay Block for APS6408 PSRAM

  • March 26, 2025
  • 1 reply
  • 525 views

I'm configuring the timings for an APS6408L-3OBMx PSRAM on my custom hardware, based on the STM32H725IGK6, in memory mapped mode, to be used principally as Frambuffer for the LTDC controller.
I have to enable the Delay Block parameter in STM32CubeMX to get a partial working PSRAM (I still have some errors on the Display), but there seems to be non possibility to configure the Delay Block inside STM32CubeMX and/or STM32CubeIDE. (The function for the Delay Block are in stm32H7xx_ll_delayblock.c/.h but this files are not included when enabling the Delay Block inside the OCTOSPIx configuration).
So my questions:
- Is there a known good configuration for the APS6408 PSRAM?
- How can I configure the Delay Block for the OCTOSPIx interface?

Martin

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    March 27, 2025

    Hello @MHoll.2;

     

    STM32CubeMX does not generate code for the Delay Block calibration.

    Two methods of calibration process utilizing the DLYB are offered: Fast Tuning and Exhaustive tuning; each method has its own advantages compared to other:
    • Fast tuning: the advantage is that it takes less time to be configured
    • Exhaustive tuning: the advantage is that there are less chances to face a data transfer error

    For PSRAM delay block calibration, I recommend you to look at DLYB_OSPI_PSRAM_ExhaustiveTuning example.

    This example has been tested with STMicroelectronics B-U585I-IOT02A  and APS6408L memory.

    Also, I think AN5050 precisely 6.2 Delay-block calibration process section can help you on how calibrate the delay block.

    I hope this help you.

    Thank you.

    Kaouthar