Guidance Required for STM32CubeMX Configuration of Dual-Octal XSPI Memory on STM32N657X0H3Q
Dear ST Community Team,
We are working on the STM32N657X0H3Q microcontroller and interfacing two Infineon S80KS5123GABHB020 Octal HYPERRAM devices using the XSPI1 interface in the dual-octal (16-bit) configuration, as shown in the STM32N6 Reference Manual (Figure 196 – XSPI block diagram for dual-octal configuration).
In our hardware design:
- MCU: STM32N657X0H3Q
- Interface: XSPI1
- Memory devices: 2 × Infineon S80KS5123GABHB020 Octal HYPERRAM
- Configuration: Dual-octal mode (two 8-bit memories operating as a single 16-bit memory interface)
- Both memories are connected according to the STM32N6 dual-octal configuration.
We would like guidance on how to correctly configure this setup in STM32CubeMX.
Could you please provide the recommended CubeMX configuration for the following?
- How should XSPI1 be configured for dual-octal mode?
- Which Memory Type should be selected for the S80KS5123GABHB020?
- How should the chip select (NCS) signals be configured for two memories operating in dual mode?
- Are there any required settings for:
- Dual Memory / Dual Device mode
- DQS configuration
- Clock configuration
- Delay Block calibration
- Memory-mapped mode
- Is there any STM32CubeMX example project or STM32CubeN6 example available for this configuration?
We have reviewed the STM32N6 Reference Manual, but we could not find a detailed CubeMX configuration example for two S80KS5123GABHB020 devices operating in dual-octal mode.
Any guidance, example project, or recommended initialization sequence would be greatly appreciated.
Thank you for your support.
Best regards,
siddu m.
