2025-03-26 8:44 AM
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
2025-03-27 1:32 AM
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
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.