cancel
Showing results for 
Search instead for 
Did you mean: 

Nucleo-H7S3l8 XSPI - Read device ID (RDID), read not returning data

Samiksha
Associate

I am using Nucleo-H7S3l8 board which has STM32H7S3L8H6 MCU and Macronix NOR Flash MX25UW25645GXDI00. Using XSPI Interface, I am trying simple read device id command RDID. After I send the command, observed busy(BUSY of XSPI_SR) bit going high and FIFO level(FLEVEL of XSPI_SR) bit field with some value and both the both fields got cleared immediately and when I try to read from data register, got no data.

Can someone suggest what might have gone wrong or suggest a way so that I can get Device Id?

1 REPLY 1
KDJEM.1
ST Employee

Hello @Samiksha and welcome to the community,

 

Could you please check your XSPI configuration like as Chip select boundary (CSBOUND). The chip select boundary is configured depending on the memory datasheet. The chip select must go high when crossing the page boundary (2CSBOUND bytes defines the page size). and the dummy cycle.

Make sure that the FIFO threshold is set  to half of the FIFO size buffer to ensure that there is always sufficient space in the FIFO for receiving or sending.

Could you please share your XSPI configuration?

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.