cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to have TouchGFX support XGA (1024 x 768) LCD

Zli.1
Associate II

Hi all,

I am working on a project that requires a GUI with high resolution. I created a very simple TouchGFX project on a Sharp XGA LCD with a STM32H743 evaluation board. I got glitches between screen transitions. According to ThouchGFX specification, the maximum resolution it supports is 1024 x 720. My questions are, is the glitch caused by the limitation of the resolution? Is it possible to make TouchGFX support higher resolution? Thank you very much.

Zhao Li

12 REPLIES 12

Requires a lot of bandwidth, and a lot of memory. Pretty close to the limit on a 2-lane 1-Gbps DSI interface.

Check if the memory implementation is 32-bit wide.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Zli.1
Associate II

Hi Clive1​,

Thank you for your reply. For this test, I am using an official stm32H753Eval board. It does have a 32-bit SDRAM. I have tested the read and write speed of the SDRAM, it can easily go over 150 MB/s with MPU and cache on. I have tried turn on and off the MPU and cache, it does not make any difference. So I think the SDRAM is not the bottle neck. By the way, I am not using a DSI interface, instead, I am using the LTDC port, RGB565 format, and convert the RGB signal to LVDS, which is required by the Sharp LCD screen.

Regards,

The LTDC doesn't use the cache, and does generate a lot of contention.

Probably want to watch the caching / lazy-write / write-buffers on the frame buffer.

Thing to watch on the contention side would be concurrent use of SDMMC interfaces in polled modes.

If you are seeing jitter or tearing on the screen, you'd want to review overall timing/performance, and if multiple frame buffers are appropriate.

What's your refresh rate and pixel clock on the 1024x768 ? Which "Sharp LCD"? Got a specific model number or data-sheet?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Zli.1
Associate II

Hi Clive1,

Thank you so much for helping me. I am not using a SD or MMC card to store images. I put the images in SPI Flash, and the SPI Flash is running under XIP mode and has been mapped to 0x90000000.

The LCD I am using is Sharp LQ064X3LW01. The datasheet is in the attachment. And a picture of LTDC settings is also attached.

0690X00000Bx90MQAR.jpg

I setup a very simple project. I have two screens, each screen has a pictures in the size of 1024x768. And I switch the 2 screens periodically.

If I set the LTDC clock to 40MHz, the frame rate would be 40,000,000 / (1363 x 802) = 36 Hz. And I can barely see the tearing effect. But because the clock is a lot lower than the recommended frequency, I can see the screen is flickering.

If I increase it to 50Hz, I get a 45 Hz frame rate. The flickering gets weaker, but the trade off is I would see an obvious tearing effect.

Do you have any idea about this? Thanks.

Hello Zli.1

In TouchGFX DEsigner you can find an application template for an EDT Smart embedded display module 10,1" running 1024*600.

Maybe you can find some relevant references in this board support package.

Zli.1
Associate II

Hi Soren,

Thanks for your suggestion. I went through their project, but I did not get any inspiration. Their resolution is lower than the maxim resolution (1024 x 700) supported by TouchGFX.

Have you guys every tested Tough GFX with a 1024 x 768 LCD? If it is impossible for TouchGFX support XGA LCDs in the current stage, please let me know. I will make some changes in my project. Thanks.

Zli.1
Associate II

Hi all,

Is there any official people can help and answer my questions? Thank you very much.

Not really, this is primarily a user-to-user forum.

For direct help from ST you should probably be working with your local ST sales/support office, and the FAE (support engineer) for your account situated out of that office. You would need to be a customer of merit to get significant engineering support, ST might be able to provide a list of contractors with specialized experience.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Zli.1
Associate II

Thanks. I will call them.