Skip to main content
MM..1
Super User
March 29, 2021
Question

Exist TouchGFX command to switch LTDC to layer 1 instead 0?

  • March 29, 2021
  • 3 replies
  • 741 views

..

This topic has been closed for replies.

3 replies

Romain DIELEMAN
ST Employee
March 30, 2021

Hi,

Just a question for my understanding, do you wish to use two layers or just 1 ? In what scenario do you want to switch layers ?

/Romain

MM..1
MM..1Author
Super User
March 30, 2021

Hi Romain, now command dont exist

i create my test project and it works, but after generation need repair some generated code. Then i prefer in MX select layer for use.

Now i explain test:

  1. LCD is 1280x480
  2. i test use it without external sdram = use L8 in layer 2 because i need it on top . Then controlled part for TouchGFX have 1024x320 = 320kB internal
  3. In flash i have full 1280x480 background image too L8 ARGB2222 and address used in Layer 1 both have same CLUT
  4. for code i use CCMRAM

but this idea is good for less sized display hw accelerated background, because when this background is part of TouchGFX need nonstop redraws...