cancel
Showing results for 
Search instead for 
Did you mean: 

NOR Flash on OSPI bus with ST MX25UM51245G Library

brohr01
Associate III

Hello, I am struggling to use the following ST library for a project I am working on, I am using an stm32u5 with an MX25UM51245G NOR chip connected to the OSPI1 bus.  The library provided is setup to use XSPI_HandleTypeDef, Can this library be used when using the OSPI bus?

ST MX25UM51245G Library on github 

Thank you

2 REPLIES 2
KDJEM.1
ST Employee

Hello @brohr01 ,

 

Yes, you can use XSPI_HandleTypeDef with STM32U5.

I recommend you to look at the main.c for OSPI_NOR_MemoryMapped example and get inspired. This example use XSPI_HandleTypeDef with OCTOSPI interface:

XSPI_HandleTypeDef OSPIHandle;

 

I hope this answer you request.

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.

KDJEM.1
ST Employee

Hello @brohr01 ;

 

Is my reply answered your request? 

If yes, please click on Accept as Solution on the reply which answered your question.

 

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.