cancel
Showing results for 
Search instead for 
Did you mean: 

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

MM..1
Chief II
 
3 REPLIES 3
Romain DIELEMAN
ST Employee

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

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...

Next question for optimize RAM using. Idea is use 1/4 size of framebuffer and zoom over ChromART 2x2 px. But this now chromart dont provide.