Skip to main content
BRado
Associate II
Feb 10, 2020 8:50 AM UTC
Question

Application Fails when Framebuffer stored into an external RAM

The STM32CUbIde dont support TouchGFX yet to build a project based on STM32L4R9AII6, so I build my own project . I faced a very serious problem when I try to put a FramBuffer into an external RAM configured as memorymap (OCTOSPI) .

 When I do this a vertical lines are displayed (see attached image) and the image quality is degraded

Please can you give me a possible solutions.

Thank you.

This topic has been closed for replies.

3 replies

berendi
Principal
Feb 10, 2020 11:06 AM UTC

Check the external RAM interface (QSPI) configuration, the memory bandwith should be sufficiently higher that the display pixel clock.

Exactly how much hgher depends on the framebuffer format.

BRado
BRadoAuthor
Associate II
Feb 10, 2020 2:26 PM UTC

Can you give me please more informations about modifing ​the memory bandwith ? ( parametres to change  )

berendi
Principal
Feb 10, 2020 3:14 PM UTC

There is no MCU named STM32L4R9I, I assume you are using STM32L4R9AII6.

Review the following chapters in the reference manual

6.2 Clocks, PLLCFGR and CCIPR2 registers, figure out the octospi kernel clock frequency, and whether you need any higher. Check that the PLL clock source actually runs.

19.4 OCTOSPI functional description, and register descriptions.

and the datasheet of the external memory to find out the supported timings and transfer modes.