cancel
Showing results for 
Search instead for 
Did you mean: 

TFT LCD using by TouchGFX

Phyo .1
Associate II

Hello, ST

I have some problem for display drawing.

I encounted error on simulator when compiling TouchGFX so, I excluded simulator to compile.(after exclusing simulator, I could compile)

(using TouchGFX library : cortex_m7/gcc/libtouchgfx-float-abi-hard.a)

I run application using TouchGfx desiginer like following on our board. the image displayed is broken.

1) here's what I expected.

0693W000003PiW3QAK.png

2)here's what is displayed

0693W000003PiW8QAK.png

Here's the tft lcd display setting we're currently using.

0693W000003PiWSQA0.png

And I set LTDC setting on CubeIDE for this setting like following.

0693W000003PiWhQAK.png

When I play png image(using by lcd-image-converter) directly on frame buffer, the image is displayed correctly except "color is black & white"

0693W000003PiXVQA0.png

Could you please check which setting/or compiler option? / library should I chage to fix this?

Thank you.

1 REPLY 1
Lagodolio
Senior

Hello, my answer is probably too late, but check (in your .ioc file) the clock configuration: you probably see a "to LTDC (Mhz)", it must be set on the right value (in your case 33.3-50 Mhz, I presume).