2025-09-04 9:04 PM
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
2025-09-08 6:12 AM
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.
2025-09-26 8:42 AM
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.