Skip to main content
SKokk.1
Associate III
May 24, 2020
Solved

Animated image issue on custom board with 5' TFT

  • May 24, 2020
  • 27 replies
  • 5396 views

Hello,

i used the STM32CubeIDE Version: 1.1.0 with TouchGFX designer 4.12.3 to build a project for the F746G-Disco. Everything worked fine, i was able to display animations etc.

Then, i made the changes to my custom board (based on Disco schematics) to use a 5 Inches (800x480) TFT and i was able to display some boxes/images but when i tried to display some animated images, the animation was not working (seems frozen).

The Touch panel is not configured yet, due to different driver than Disco.

Could this be a hardware issue? I am attaching the screen datasheet and the project, in case someone could help.

Project:

https://drive.google.com/file/d/1ibuGvqsCGqzeZYnflSGMnCdHznQdUkfN/view?usp=sharing

Small video:

https://www.youtube.com/watch?v=aE4VB7f4UFw

This topic has been closed for replies.
Best answer by AME MCU Support Center BB

 I am afraid that with a display 800x480 you would need a 32-bit  

  hsdram1.Init.MemoryDataWidth = FMC_SDRAM_MEM_BUS_WIDTH_16;

You can dump the LTDC/DMA2D registers to tell what's going on.

You can as well slow down the pixel clock to the lowest possible value. Not sure what the actual value is.

AN4861 table 12 says that with SVGA and 24bit you would need 32-bit SDRAM:

https://www.st.com/resource/en/application_note/dm00287603-lcdtft-display-controller-ltdc-on-stm32-mcus-stmicroelectronics.pdf

With regards,

Badreddine

  

  

27 replies

SKokk.1
SKokk.1Author
Associate III
June 2, 2020

I dont know what else to check...

AME MCU Support Center BB
ST Employee
June 3, 2020

 I am afraid that with a display 800x480 you would need a 32-bit  

  hsdram1.Init.MemoryDataWidth = FMC_SDRAM_MEM_BUS_WIDTH_16;

You can dump the LTDC/DMA2D registers to tell what's going on.

You can as well slow down the pixel clock to the lowest possible value. Not sure what the actual value is.

AN4861 table 12 says that with SVGA and 24bit you would need 32-bit SDRAM:

https://www.st.com/resource/en/application_note/dm00287603-lcdtft-display-controller-ltdc-on-stm32-mcus-stmicroelectronics.pdf

With regards,

Badreddine

  

  

SKokk.1
SKokk.1Author
Associate III
June 3, 2020

Thank you Badreddine,

16bpp might be enough for our application.

Adding a 32-bit SDRAM is not a choice cause we will need to re-design the whole PCB (with 16bit SDRAM and only 4 pins left free).

Thank you all.