Associate II
April 7, 2022
Question
Store Framebuffer in OSPI PSRAM?
- April 7, 2022
- 7 replies
- 3162 views
MCU: STM32L4R9ZIJ6
PSRAM: APS1604M-3SQR-SN
Display: 800x480, RGB888, 24-bit
Hi, I'd like to use the mentioned PSRAM to store the TouchGFX framebuffer using OCTOSPI in QuadSPI mode.
I have tried setting the Frame Buffer Start Address to
OCTOSPI1_BASE (0x90000000), but that does not seem to work. I only get junk data.
I have read the TouchGFX docs, LTDC datasheets, and OSPI datasheets very thoroughly, and still cannot figure it out.
Additional Q's:
- How does the MCU "know" an external PSRAM has been added?
- Should I have used FMC for this procedure instead?
Note: I am using a custom board/application. Please assume the hardware is correct for the sake of discussion.
Any help would be appreciated. If any further clarification is needed please ask. I will include an image of the LCD display image as it stands.
