STM32F7, FMC_SDRAM_DataMemory Example Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-28 8: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-28 6:04 PM
Please help me...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-28 6: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-28 6: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-28 8: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
