cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying multiple images on STM32F746G DISCO board

Shruthi
Associate II

Hi,

I'm working with STM32F746G DISCO board. I have 4 different image arrays- img1[65536], img2[65536], img3[65536], img4[65536]. I would like to display this on the screen simultaneously one below the other.

In the below program,

int i=0;
 
while(i<4)
 
{
 
pLayerCfg.WindowY0 = 68*i; // incrementing Y position on screen to display next image 
 
pLayerCfg.FBStartAdress = (uint32_t) &img(i); //&img1, &img2, &img3, &img4
 
HAL_LTDC_ConfigLayer(&hltdc, &pLayerCfg, 1);
 
}

This displays one image at a time in the incremented Y position. entire screen is reloaded everytime.

I tried with - HAL_LTDC_ConfigLayer_NoReload(&hltdc, &pLayerCfg, 1);

But did not display image unless I call - HAL_LTDC_Reload() function where again only 1 image is displayed.

I'm unable to combine all the image arrays to one since 65536 is the max limit for array size initialization.

Please suggest how to display 4 images at a time on screen one below other. Can we configure this board to have 4 different layers display so that each image can be displayed on different layer?

Regards,

Shruthi

1 REPLY 1
pratik0403
Associate

We are also facing similar issue. Is there anyway to be able to work on this?