Associate III
July 21, 2015
Question
Help with Stm32f429 FMC SDRAM(MT48LC16M)
- July 21, 2015
- 1 reply
- 775 views
Posted on July 21, 2015 at 17:15
I design a board based on Stm32f429-discovery and add a 8192 Row x 512column x 16 bit Sdram to Sdram Bank 2.
my Sdram is MT48LC16Mhttp://pdf.datasheetarchive.com/datasheetsmain/Datasheets-19/DSA-364195.pdf
I study Datasheet To Setup Timing And Helped by http://asf.atmel.com/docs/3.0.1/avr32.drivers.mdma.example.uc3c_ek/html/mt48lc16m16a2tg7e_8h_source.html http://asf.atmel.com/docs/3.0.1/avr32.drivers.mdma.example.uc3c_ek/html/group__group__avr32__drivers__ebi__sdramc.html#gaa0f99d3a3036fbdaa70fc6365efe0b04 this header file from Atmel. and create my Project At first i tested my program by writing 0XF0 to about 1 KB of Sdram from Address 0XD0000000 (first address of fmc Sdram bank 2) and I Read Back them and They Are Correct! But I Decided to Check whole of Sdram Memory So I Fill 32MB(0X2000000) With 0XF0but there was Errors when i Compare read data with 0Xf0
I then Checked that If i Write More Than 0X10dd8 Length Of Data Sdram Will Lose Data And I Cant Go to Debug Also Because It's Always With Error. I Even Checked Timing With STM32F429-Disco and See i have the Same Pattern HCLK=168 Mhz I Attached FMC.c File I Appreciate Any Help
