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

Sure ... I will mention , how to generate BSP files in my aticle. Also will try to spare some time on Sunday to check your application. But don't forget to follow and likes for me !!

Here is TouchGFX running on HP S1932 18.5" Monitor's LVDS LCD with 1366x768 resolution .

The lcd part no. is LTM185AT04 or Equivalent . The driver is stm32f429i-discovery + sn75lvds83b  


_legacyfs_online_stmicro_images_0693W00000dDV59QAG.pngI made custom board for lvds type lcds ..


_legacyfs_online_stmicro_images_0693W00000dDUzSQAW.pngSorry about dust on my work , the weather is too hot now a days ..

Tested following lcds.

SAMSUNG TAB3 7.0" , 1280x600 TFT

THINKPAD T400 14.1" , 1280x800 TFT

GENERIC TFT MONITORS , from 14.1" to 18.5" Maximum tested resolution is 1366x768 TFT

Higher resolution means , need better and faster controllers so I switched to Dual-Core and selected STM32H745XIT6 as my target.

The image of my test with STM32H745XIT6 in earlier replies to you.

I tested TouchGFX on ThinkPad T400 LCD (1280x800) as mentioned before , but now lcd CFL B.Light not responding so couldn't take snaps ..  

imran