2018-11-27 11:50 PM
Hi,
I tested FMC_SDRAM_DataMemory Example of STM32F769I_EVAL.
I found out that the data written to SDRAM is not correct.
See below picture for your checking. I believe HAL and FMC driver in system_stm32f7xx.c is not correct. Please advise me how to make it correct. Thanks.
Regards,
Thiha Kyaw
Solved! Go to Solution.
2018-11-28 08:09 PM
Just modify below and work for me.
/* Configure and enable SDRAM bank1 */
FMC_Bank5_6->SDCR[0] = 0x00001964; //0x000019E5;
FMC_Bank5_6->SDTR[0] = 0x01116461; //0x01116361
2018-11-28 06:04 PM
Please help me...
2018-11-28 06:39 PM
I'd probably have the "Memory 1" window dump 0xC0000000 as 32-bit unsigned words. If everything has bit 8 set, I would look at the schematic critically and make sure no other use for D8 is specified or jumpered on the board.
2018-11-28 06:49 PM
Dear Clive,
Do you mean PD8?
In the example, SDRAM is initialized in system_stm32f7xx.c.
How can I modify it?
Thank.
Regards,
Thiha Kyaw
2018-11-28 08:09 PM
Just modify below and work for me.
/* Configure and enable SDRAM bank1 */
FMC_Bank5_6->SDCR[0] = 0x00001964; //0x000019E5;
FMC_Bank5_6->SDTR[0] = 0x01116461; //0x01116361