cancel
Showing results for 
Search instead for 
Did you mean: 

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

Junde
Senior II

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.

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Junde
Senior II

About the mapping between the cubeMx and datasheet,

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

 

View solution in original post

1 REPLY 1
Junde
Senior II

About the mapping between the cubeMx and datasheet,

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