Skip to main content
Jiimmy
Associate II
April 25, 2022
Solved

Wrong representation of screen. (Shifted image)

  • April 25, 2022
  • 3 replies
  • 2312 views

Sometimes an image tells more than a thousand words:

0693W00000LywVLQAZ.jpgAs you can imagine, the dots shouldn't be shifted to the right as on my display (there is an offset on the x-axis)

This is my very example template (lots of buttons to test my touch).

I use the STM32F469 controller and my display is a ILI9881.

When I use the same display with the STM32 Disco Techstar Board everything works fine.

I have no reference where to look for my misrepresentation.

I appreciate your help

Cheers Jimmy

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

Good morning Osman

Thank you for trying to help me.

Luckily, I was able to figure out what the problem was:

In CUBEMX at Multimedia/DSIHOST I use the "Adapted Command Mode with TE Pin".

As external clock, I used a 16MHz quartz instead of the 8MHz quartz at the STM32 Disco Board.

Therefore, the PLL was set too high for the DSIHOST which caused the explained misrepresentation.

For completeness stake:

I use Touch GFX version 4.19.1

I have an external RAM

As frame buffer strategy I use single buffer.

May this helps someone else.

Jimmy

3 replies

Osman SOYKURT
ST Technical Moderator
May 5, 2022

Hello Jiimmy,

Can you give more information about your configuration please ?

  • Which version of TouchGFX Designer do you use ?
  • Do you have internal/ external ram ?
  • Which framebuffer strategy do you use ?

/Osman

ST Software Developer | TouchGFX
Jiimmy
JiimmyAuthorBest answer
Associate II
May 5, 2022

Good morning Osman

Thank you for trying to help me.

Luckily, I was able to figure out what the problem was:

In CUBEMX at Multimedia/DSIHOST I use the "Adapted Command Mode with TE Pin".

As external clock, I used a 16MHz quartz instead of the 8MHz quartz at the STM32 Disco Board.

Therefore, the PLL was set too high for the DSIHOST which caused the explained misrepresentation.

For completeness stake:

I use Touch GFX version 4.19.1

I have an external RAM

As frame buffer strategy I use single buffer.

May this helps someone else.

Jimmy

Osman SOYKURT
ST Technical Moderator
May 5, 2022

Hello Jimmy,

Great to hear your problem is solved!

Thanks for your reply, it surely can help someone else indeed. For better referencing, could you mark your answer as best please ? Thank you :)

/Osman

ST Software Developer | TouchGFX