Request for STM32CubeMX Configuration Guidance for Dual Octal Memory with STM32N657X0H3Q.
- August 7, 2026
- 1 reply
- 73 views
Dear STM Community Team,
We are working with the STM32N657X0H3Q microcontroller in our custom hardware design. We have interfaced S80KS5123GABHB020 Octal RAM devices with the controller using the XSPI interface.
In our design, we are using a dual Octal memory configuration as described in the STM32N6 Reference Manual. The two 8-bit memories are configured to operate together as a 16-bit external memory interface.
We would like your guidance regarding the correct STM32CubeMX configuration settings for this dual Octal memory setup.
Our configuration details are:
-
MCU: STM32N657X0H3Q
-
External Memory: S80KS5123GABHB020
-
Interface: XSPI
-
Memory Configuration: Dual Octal mode (two 8-bit memories forming a 16-bit interface)
-
Intended usage: External RAM for (ltdc)framebuffer
-
Memory mapped access: XSPI memory-mapped mode
Could you please confirm the recommended STM32CubeMX settings for the following parameters?
-
XSPI mode selection:
-
Should the configuration be set as HEXASPI mode?
-
Are there any specific settings required for two parallel Octal RAM devices?
-
-
Memory configuration:
-
What should be the correct settings for:
-
Device size
-
Memory type
-
Data width
-
Chip select configuration
-
Delay block configuration
-
-
-
Timing parameters:
-
Recommended values for:
-
Read latency
-
Write latency
-
Clock frequency
-
DQS configuration
-
-
-
Memory-mapped mode:
-
Are any additional system configurations required before accessing the external RAM at the XSPI memory-mapped address region?
-
Are there any MPU/cache settings recommended for framebuffer usage?
-
We have referred to the STM32N6 reference manual and would like to confirm our STM32CubeMX configuration.
Any example project or recommended configuration for STM32N657X0H3Q with dual Octal RAM would be highly appreciated.
Thank you for your support.
Best regards,
Shivani e.
