Skip to main content
Associate III
September 28, 2023
Question

Flickering problem with EDT display in portrait mode

  • September 28, 2023
  • 2 replies
  • 2818 views

Hello everyone,

I have changed the display mode of my project to portrait, so I have made many changes to display all the elements in the right way. Actually, I have a lot of screens, containers, list layouts, etc., so it is a big project.

Unfortunately I now have flickering problem with only three screens that use the list layout in a scrolable container. I have tried everything to rid this issue but no way. The flickering seems to be as if it is synchronised with the ticks of the seconds counter, and I have noticed this because I have a time element on the screen!

The point is that everything seems to be correct and compatible (TouchGFX content and source code content).

EDT Display has a template board setup for Touchgfx but it does not generate an .ioc file to see if there is an issue with the frequency for example, but the question is it should not be because it works fine in landscape mode, right?

Has anyone had such an issue before? Also I am trying since 3 day and I am completely confused right now.

Best wishes

Mahdi

This topic has been closed for replies.

2 replies

Smartembedded
Associate
September 29, 2023

Hi mids400,

At landscape or portrait mode the display will be driven at the same frequency with same X,Y size, as the framework and tools handles the rotation.

Please sent me a PM with the part number, designer, TPA version and I will look into it.

Could you provide a video of it ?

Best regards,

Smartembedded.

mids400Author
Associate III
September 30, 2023

Hi @Smartembedded,

Thanks for your reply!

First of all, let me say that I have found the reason of this problem and I could get rid of it, but the point that I don't understand is why?

Let me explain briefly, i am using a container as background for all the screens and this container uses an image with same diemensions of the display in portrait mode. So I removed the image and replaced it with a box.

Like this:

mids400_0-1696063281526.png

I have used this image before and it caused the flickering problem:

mids400_1-1696063480097.png

Do you have any idea about this? it's very strange behaviour..

Regards,

Mahdi

Smartembedded
Associate
October 2, 2023

Hi,

I recall that in earlier versions of the designer you allways needed to start with a picture or a box to fill the entire background on a screen. Otherwise the framebuffer was not blank and could show random pixels and flickering.On the more recent versions this is done automatically behind the scenes on a new screen, but might not be the case for a custom container. I don't know if that could be the reason, but also depends what kind of flickering or pattern you observe.

MM..1
Chief III
September 30, 2023

Try shw here your time element code or perfect model tick and screen tick codes...

mids400Author
Associate III
September 30, 2023

Hi @MM..1 ,

Did you read my last answer?

MM..1
Chief III
September 30, 2023

Ofcourse and i dont see any lines of code. You ask solution, but no information reported. Flicker is based on bad using code...