cancel
Showing results for 
Search instead for 
Did you mean: 

question about stm32h750bdk ExtMem_boot

taeun
Associate II

 

Inside the QSPI_EnableMemoryMappedMode function, the dummy cycles are MT25TL01G_DUMMY_CYCLES_READ_QUAD_DTR - 1.
MT25TL01G_DUMMY_CYCLES_READ_QUAD_DTR is defined as 6U.
The datasheet for MT25TL01G states that the DTR QUAD INPUT/OUTPUT FAST READ value is 8. 
Why is MT25TL01G_DUMMY_CYCLES_READ_QUAD_DTR defined as 6?

 

1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

Hello @taeun;

 

The dummy cycles "s_command.DummyCycles = MT25TL01G_DUMMY_CYCLES_READ_QUAD_DTR - 1;" depend on the QSPI clock frequency and on parts specification as mentioned in the memory datasheet.

KDJEM1_0-1748263581294.png

In the ExtMem_boot case QSPI clock is 50 MHz, that why dummy cycles are 5.

KDJEM1_1-1748263726828.png

For MT25TL01G_DUMMY_CYCLES_READ_QUAD_DTR as 6U definition is contradictory with the memory datasheet, I reported internally.  

Internal ticket number: 210785 (This is an internal tracking number and is not accessible or usable by customers)

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.

View solution in original post

4 REPLIES 4
KDJEM.1
ST Employee

Hello @taeun;

 

The dummy cycles "s_command.DummyCycles = MT25TL01G_DUMMY_CYCLES_READ_QUAD_DTR - 1;" depend on the QSPI clock frequency and on parts specification as mentioned in the memory datasheet.

KDJEM1_0-1748263581294.png

In the ExtMem_boot case QSPI clock is 50 MHz, that why dummy cycles are 5.

KDJEM1_1-1748263726828.png

For MT25TL01G_DUMMY_CYCLES_READ_QUAD_DTR as 6U definition is contradictory with the memory datasheet, I reported internally.  

Internal ticket number: 210785 (This is an internal tracking number and is not accessible or usable by customers)

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.

one more question.

Then why is it 2Cylce when sending MT25TL01G_READ_STATUS_REG_CMD command?

 

KDJEM.1
ST Employee

Hello @taeun;

 

It is mentioned in RM0433 that "In order to assure enough “turn-around” time for changing data signals from output mode to input mode, there must be at least one dummy cycle when using dual or quad mode to receive data from the flash memory."  

The status register data size is one byte. This mean that in quad mode we need 2 clock cycles to sample register value. 

 

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.

.