Skip to main content
Junde
Senior III
March 31, 2024
Solved

How to set the timing of the external SDRAM extended by FMC?

Hi there,

I am trying to extend an SDRAM(W9825G6KH-6) for my homemade board with STH32H743IIT6.

According to the SDRAM datasheet:

Junde_0-1711883240183.png

I want to set the FMC clock to 130MHz with CL=2.

So the MCU clock config is as follows:

Junde_1-1711883438907.png

and according to the SDRAM datasheet:

Junde_4-1711886286820.png

I config the SDRAM as this:

Junde_5-1711886657191.png

But the cubeMx presents some error about the "Write recovery time" param.

My question is:

1. How to calculate the FMC SDRAM params according to the SDRAM datasheet?

2. What do the "SDRAM common clock" and the "SDRAM common read pipe delay" mean and how to decide their value?

I am very quezz about it.

Thanks for your kind help.

 

 

 

 

This topic has been closed for replies.
Junde
JundeBest answer
Senior III
March 31, 2024

About the mapping between the cubeMx and datasheet,

I refer to here: http://main.lv/writeup/stm32f4_sdram_configuration.md

 

1 reply

Junde
JundeAuthorBest answer
Senior III
March 31, 2024

About the mapping between the cubeMx and datasheet,

I refer to here: http://main.lv/writeup/stm32f4_sdram_configuration.md