2024-08-22 10:34 PM - last edited on 2024-08-23 01:59 AM by SofLit
I conducted an experiment with the following settings and results:
The results are puzzling because when the Display Start Address is set to SDRAM, the display output is not functioning correctly. I suspect there might be an issue with the SDRAM, but I’m confused by the fact that when LTDC is set to 0xC0000000 (SDRAM) and Display is set to 0x20020000 (Internal RAM), the display works without issues.
Additionally, after debugging and inspecting the memory, I can see the values written to the internal RAM, but I cannot see any values written to the SDRAM.
The SDRAM model I am using is the MT48LC4M32B2B5-6A_IT. I will attach an image showing the parameters I set in CubeMX.
To provide some details, the system clock is set to 216MHz, and the data width is 8 bits because the environment only supports an 8-bit configuration. The CAS Latency is set to the maximum performance of the SDRAM, and the SDRAM common clock is set to 2, resulting in 216/2 = 108MHz, which I intended to ensure would not cause issues.
At 108MHz -> 9.26ns
I have configured the settings accordingly.
I would appreciate your assistance in resolving the issue.
2024-08-23 02:04 AM
Hello,
You didn't mention which part number you are using. Please review tips on how to post in the community: https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228
For your SDRAM configuration, this article may help you: https://community.st.com/t5/stm32-mcus/how-to-set-up-the-fmc-peripheral-to-interface-with-the-sdram/ta-p/49457
2024-08-25 04:53 PM
I apologize for the confusion. I am currently using the STM32F746 chip and the SDRAM MT48LC4M32B2B5-6A_IT. My development environment is STM32CubeIDE.
I have referred to this link to configure the SDRAM, but I am encountering issues and would appreciate your assistance.
this link : https://community.st.com/t5/stm32-mcus/how-to-set-up-the-fmc-peripheral-to-interface-with-the-sdram/ta-p/49457