cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f429 2 ltdc layer addreesed in Sdram

nsabo.1
Associate II

Hi, I initialized 2 layers in LTDC to show 2 images, which was done directly by addressing them from flash.

That was fine till I want to set 2 layers in my SDRAM.

application note has said the first one should be addressed in 0xc0000000 and the second one should be configured in a bank addition to first layer.

The problem is 2 layers independently work but to enable them at the same time, they won't work properly.

Have some one faced with this problem?

what should I do to enable them at the same time?

stm 32f429

LTDC is configured in 16 bits.

2 REPLIES 2
MM..1
Chief III

Why you need two layers in ram?

Is layers too RGB565 ?

How dotclock you use for LTDC? ...

show layer2 addr too. for check.

What is wont work prop...

Hi, sorry for my late reply, I didn't understand what dotclock in LTDC is.

I finally set 2 layers in SDRAM but, I got some tempering with images I thought that was due to my SDRAM configuration.

I meant it is possible to address directly your buffers which can be images... in SDRAM, but you should know to address them n 2 different SDRAM banks.

Now, I have another question:

I am using TOUCHGFX, in my project I have to display 12 graphs in two columns (2*6), I want to have grids behind my graphs for this case I don't use minor and major grid lines for graphs, I wrote them manually by lines....

when I use vertical frontline for my dynamic graph, the line erase my behind grids too.

Is there any idea to help me frontline doesn't erase the behind grids?