cancel
Showing results for 
Search instead for 
Did you mean: 

How to upgrade TouchGFX Application Template for STM32F750-DK with 4.3 inch 480x272 display to drive 7 inch 800x480 display

CAbey.1
Associate II

I'm trying to drive 7 inch 800x480 display from STM32F750-DK by replacing inbuilt 4.3 inch 480x272 display. I'm using application template from TouchGFX designer designed for 4.3 inch 480x272 display. I followed stpes this forum answer and get relavant values from display datasheet. Also I followed this video. I have changed the values in LTDC configration and TouchGFX generator according to my display.

I have changed the "Start Address 2" by adding 16x480x800/8 to the "Start Address" I'm using RGB565 as in the Application template that's why it is 16, not 24. (But I tried using 24 and RGB888 configuration as well. But it also had that same issue.)
_legacyfs_online_stmicro_images_0693W00000bhnNrQAI.png 

Finally I was able to drive static screens. But the problem is when something change in the display, display is shaking(objects are moving here and there). For better clarity I have attached the video

I have pasted screenshots as well


_legacyfs_online_stmicro_images_0693W00000bhnQ2QAI.png
_legacyfs_online_stmicro_images_0693W00000bhnQ7QAI.png
_legacyfs_online_stmicro_images_0693W00000bhnQCQAY.pngFrom the TouchGFX designer I just only put pink box as backgound to fill the area.

Same issue happens when change between 2 static screens without any transition animation as well. But after the screen changed it shows without any issue. Issue happens only at the moment of changing (Since animattion changes continously issue exist continuously as in the video)

I have attached my CubeMX file as well

Do I need to change some code changes as well ? I haven't change code in the application template. Did I missed some CubeMX configration ? I only configrured LTDC and TouchGFX generator.

I need some guidance/help to drive this display. Also If some one have some sample touchgfx projects to dirve 7 inch display highly apprciate If you can share them with me.

Thank you

14 REPLIES 14
MM..1
Chief II

Try activate animation buffer too. Exist more ways one is in generated target locate file

TouchGFX\target\generated\TouchGFXGeneratedHAL.cpp 

setFrameBufferStartAddresses((void*)(0xC0000000), (void*)(0xC0200000), (void*)(0xC0400000));

Thank you very much for the suggestion. Tried this. But not worked. By the way, it does not happen only in animations. Any change in the screen like a transition between screens without animation. I just changed the question a little bit according to that.

Seems your code or hw have other issue. Is board real DK or custom copy ?
You create project in TGFX and then edit ioc MX. This work ok rarely around 50%. Examples in TGFx isnt templates , sometimes is optimized for DK hw.
Sometimes version have own bugs. Try other TGFx for example 4.17
Check rtos heap size , need enlarge , too task stack usw.

Board is real. I just only replaced the display.

"Seems your code or hw have other issue" I haven't change the code. Do I need to change something in the code ?

Try generate new TGFx and backup it before MX change. Then compare after generate code with your changes.

I compared them using git. Notice that LTDC configuration in main.c and TouchGFXConfiguration.cpp files has been changed by the CubeMX accordingly. But that's it. It does not contain any FMC, SDRAM related configuration changes

CAbey.1
Associate II

Found another thread he also haveing that same issue. https://forum.allaboutcircuits.com/threads/stm32f750-800x480-lcd-causing-artifacts.192298/

Seems like there is a issue with the STM32F7508-DK devlopment board.

Also able to drive a 800x480 display using STM32H750B-DK board by just doing paramter changes in LTDC parameters in CubeMX without modifying the code manually.

ZExpo.1
Senior

Hey, Any Progress on this board?