on
2025-06-18
4:01 AM
- edited on
2025-11-26
5:17 AM
by
Laurids_PETERSE
The OCTOSPI interface is used in STM32 devices to enhance communication speed with devices like external memories. Achieving the maximum OCTOSPI clock frequency is essential for various applications.
This article explains some factors impacting the OCTOSPI frequency and some recommendations to achieve the maximum.
The maximum frequency of OCTOSPI depends on several factors, including: memory characteristics, the specific STM32 devices used, OCTOSPI pins, the operating modes (SDR, DTR, HyperBus), the system clock, the OCTOSPI kernel clock etc. Each of these factors can significantly impact the achievable maximum frequency.
The user should refer to the datasheets of both the STM32 and the memory to find the maximum OCTOSPI frequency and the conditions required to achieve this frequency.
Below some hardware, software, and option byte recommendations to achieve the maximum OCTOSPI frequency are listed.
If the memory operation voltage is below the 2.5 V, we recommend enabling the HSLV feature for the used GPIOs to increase their maximum speed at low voltage. This feature must be enabled in the option bytes. This FAQ describes how to enable the HSLV in STM32H7R/S.
If you follow these recommendations and you are unable to reach the maximum OCTOSPI frequency, we suggest that you create a post in the ST community product forums for further assistance.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.