Skip to main content
jumman_JHINGA
Senior III
June 5, 2023
Solved

How to Configured Custom LDTC 1024x600 touch Display for STM32F746IGT Board... without discovery board?

  • June 5, 2023
  • 6 replies
  • 12003 views

hi friends..

i have configured custome LDTC touch Display for STM32F746IGT controller. I have refferd the following video for configuration:

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

i have done every thing step by step according to that video and made changes according to my 1024x600 wave share display properties.

after completiing the configurations and cearting GUI in touchGFX im not getting anything on touch Display..

im sharing my project file also ... if some one finding mistakes in my configuration ... pleaz help me to correct it ..

This topic has been closed for replies.
Best answer by jumman_JHINGA

When i commented mx_quadspi_int() .. now its displaying one button that i configured in touchgfx but still background is not coming ...

Through this button i toggled one led also ... and LED is getting toggled without any issue.

i​ think this background issue is coming during fetching the background from memory

Might be im missing something 樂


_legacyfs_online_stmicro_images_0693W00000dDTWcQAO.png

6 replies

Graduate II
June 5, 2023

Hello

What is the exact type of your display ?

Have you run this project on debugger, what it does.. Hardfault ? Do you see the backlight lights up ?

It might be good idea to test it in small pieces. See first that all initializations goes OK, then fill framebuffer with some constant value and try to get display wake up without TGFX and even without RTOS.

jumman_JHINGA
Senior III
June 6, 2023

Hii @Jukka Pöppönen 

im using LTDC 24 bit RGB888 display type .. and FT5206 driver for it..

Im not getting any hard fault error.

And yes only backlight is getting turned on.

I

Graduate II
June 7, 2023

Just some ideas..

  • Have you test with different LTDC signal polarities, what the display datasheet says about signals ?
  • What if you comment out the start of VideoTask, does it affect:

  videoTaskHandle = osThreadNew(videoTaskFunc, NULL, &videoTask_attributes);

  • Test without symbols in external flash.
  • Debug is tgfx even rendering anything on the framebuffer,
  • What if you write some values on framebuffer, is it showed on the screen?

jumman_JHINGA
Senior III
June 8, 2023

@Jukka Pöppönen​ 

I commented videoTaskfunction and now im getting flickering display...
_legacyfs_online_stmicro_images_0693W00000dDOQeQAO.png

jumman_JHINGA
jumman_JHINGAAuthorBest answer
Senior III
June 9, 2023

When i commented mx_quadspi_int() .. now its displaying one button that i configured in touchgfx but still background is not coming ...

Through this button i toggled one led also ... and LED is getting toggled without any issue.

i​ think this background issue is coming during fetching the background from memory

Might be im missing something 樂


_legacyfs_online_stmicro_images_0693W00000dDTWcQAO.png

Graduate II
June 8, 2023

Good :thumbs_up: for me it looks that LTDC parameters/polarities are wrong. What is the type of display ?

jumman_JHINGA
Senior III
June 8, 2023

Its a RGB888, st5206, Display, i configured as LTDC only ... and checked all GPIOs.. its matching with 40pin LCD connector's diagram of touch display

INaee.1
Associate II
June 8, 2023

Hi ,,

Its not relevant to your question but ..

my recent development across STM32H745XIT6 Core Board and 1024X600 TFT running TouchGFX  .

imran


_legacyfs_online_stmicro_images_0693W00000dDVHjQAO.png
_legacyfs_online_stmicro_images_0693W00000dDVHoQAO.png
_legacyfs_online_stmicro_images_0693W00000dDVQbQAO.png 

jumman_JHINGA
Senior III
June 8, 2023

Hii Imran .... its nice to see you got output .... would you show me how you done configuration of custom touch Display and touch GFX?.....

I recently started working on touchgfx... and i dont know much about it ... its very easy to do with Discovery boards those are already present in touchgfx.

But its become very complicated when we have to add other sizes of Display to same controller :unamused_face:

INaee.1
Associate II
June 9, 2023

Here is TouchGFX , running on 5.0" ,, 720X1280 ,, RGB + SPI TFT with STM32F429i-DISCOVERY 

LCD PART No. TL050HDV31CT5-H1206A

The lcd driver chip/COG is NV3052


_legacyfs_online_stmicro_images_0693W00000dDSwFQAW.png
_legacyfs_online_stmicro_images_0693W00000dDSwAQAW.png