Skip to main content
ssooki
Associate III
August 11, 2020
Solved

touchgfx vertical line noise..

  • August 11, 2020
  • 8 replies
  • 4745 views

I am working on a project to control LCD with a custom board using stm32f429IG.

I succeeded in displaying the screen, but vertical line noise occurs in each element.

It was confirmed that there was no abnormality in the arrangement data of each image using 'lcd image converter'.

Can touchgfx be affected when displaying the screen and produce this kind of noise?

Please let me know if there is a way to fix the noise.

​

  • using cubemx, touchgfx
  • 480x272 rgb888
  • using SDRAM

0693W000003P7jKQAS.jpg

​

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

I found a solution.

By changing all the settings to even numbers(Numerical values for all settings such as location, icon, png size, etc.),

we were able to achieve a noise-free screen.

8 replies

Martin KJELDSEN
Principal III
August 11, 2020

Hi,

How did you create the project?

/Martin

ssooki
ssookiAuthor
Associate III
August 11, 2020

I made it in the same way as the link below.

https://support.touchgfx.com/docs/development/touchgfx-hal-development/touchgfx-generator

It is different from the previously uploaded screen composition, but the symptom is the same project file attached.

Martin KJELDSEN
Principal III
August 11, 2020

Can you dump the framebuffer to see if this issue is in memory? (probably is).

ssooki
ssookiAuthor
Associate III
August 12, 2020

It is being tested with the screen shown in the attached file(test_screen.png).

Like the code below, I directly read the temporary address value for one line on the screen.

for(i=0; i<((3*480)/4); i++) {

printf("\r\n%08X", *(uint32_t *)(0xD0000000+(i*4)));

 }​

​

The screen also shows a vertical black line and yelllow line on the left unintended, and the frame buffer also shows unintended data.

(Attach data(framebuffer_data.txt) and screen(test_screen_result.jpg) information.)

This symptom does not occur without image control in touchgfx.

Is touchgfx doing the wrong conversion?​

​

ssooki
ssookiAuthor
Associate III
August 12, 2020

Incidentally, The array data of cpp code converted from png file is normal.

ssooki
ssookiAuthor
Associate III
August 11, 2020

To explain in more detail...

  1. create cubemx project
  2. add touchgfx software
  3. ​generate code in cubemx
  4. execute TOUCHGFX/ApplicationTemplate.touchgfx.part
  5. click generate code button in touchgfx

ssooki
ssookiAuthorBest answer
Associate III
August 25, 2020

I found a solution.

By changing all the settings to even numbers(Numerical values for all settings such as location, icon, png size, etc.),

we were able to achieve a noise-free screen.

AChlu.1
Visitor II
October 15, 2020

Was the root cause of these vertical lines ever found? I am having the same problem in my project with lines identical to the ones shown here.

Hardware is similar to STM32f746G-Discovery, CubeIDE, TouchGFX 4.13