cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7S78-DK Example with both HEXSPI and OCTOSPI running at the same time.

Dub Bartolec
Associate III

Hi All,

I am having difficulties getting both HEXSPI PSRAM (XSPI1) and OCTOSPI (XSPI2) running at the same time in a memory mapped mode on STM32H7S78-DK board.

There are two examples for this board:
XSPI_PSRAM_MemoryMapped that configures XSPI1 in memory mapped mode (access to external RAM)
XSPI_NOR_ReadWhileWrite_DTR that configures XSPI2 in memory mapped mode (access to external FLASH)

Each example runs OK separately. However, when I've ported XSPI1 code from "XSPI_PSRAM_MemoryMapped" project to "XSPI_NOR_ReadWhileWrite_DTR" project PSRAM works in memory mapped mode but external flash doesn't any more.

I am finding that change in HAL_XSPI_MspInit()  that configures XSPI1 breaks operation of XSPI1 in memory mapped mode. In fact XSPI1 config in

Is there any example source code that work for STM32H7S78-DK board out of the box ?

 

0 REPLIES 0