Skip to main content
Associate II
January 20, 2026
Question

NUCLEO-H7S3L8 Read Device ID in OPI mode

  • January 20, 2026
  • 2 replies
  • 280 views

Hi,

Currently I working with Nucleo-H7S3L8 board and trying get XSPI interface up by trying to read memory device ID in STR OPI mode. It is not working yet.
Can someone share detailed steps to get it to working stage? I am able to read id in single SPI mode.

Thanks,

Samiksha

2 replies

Mike_ST
Technical Moderator
January 21, 2026

Hello,

you'll probably need to send a command to the memory to switch in OPI mode before sending the OPI ReadID command. Please check the memory documentation.

 

SamikshaAuthor
Associate II
January 21, 2026

Hi,

Could you please point me to the specific command to put memory in OPI mode. I am not able to find one.

I tried to configure RDCR2 for STR OPI mode. Are you talking about any different command?

Thanks,

Samiksha

Mike_ST
Technical Moderator
January 21, 2026

Hello,

>> Are you talking about any different command?

Not sure, because you don't specify the memory you're using.

Please check the guide for maximizing your chances to get an answer from the community:

How to write your question to maximize your chances to find a solution 

 

 

 

SamikshaAuthor
Associate II
January 21, 2026

Hi,

I am using MX25UW25645G memory which is already available on Nucleo board.
Let me know if you need any more details.

Thanks,

Samiksha

Mike_ST
Technical Moderator
January 21, 2026

There is a sample program to use this memory:

Please check the firmware package for H7RS family which is available here:

STM32H7R/S software package 

Under the folder:

STM32Cube_FW_H7RS_V1.3.0\Projects\NUCLEO-H7S3L8\Examples\XSPI\XSPI_NOR_ReadWhileWrite_DTR

or on github there:

XSPI NOR DTR 

But I don't think it performs an OPI readID.