cancel
Showing results for 
Search instead for 
Did you mean: 

Weird behavior when animation

vtunr
Associate III

Hi,

I'm working with TouchGFX with STM32F746BG, and I have an issue when there is animation.

You can find a video of the problem here : https://youtu.be/X-D-NkGCN5k

I also have the same issue when I add an animation between screen.

At the beginning I was working without TouchGFX (and without external ram), playing with LTDC layer, moving and everything and I no issue.

Any idea where this could come from ?

Tony

EDIT: Updated video to the right one

13 REPLIES 13

Would be great to have a video of current behavior, thanks!

/Martin

@Martin KJELDSEN​ So I made three videos :

* With lockDMAToFrontPorch(true) and logo 1 : https://www.youtube.com/watch?v=SIBAnAXJJx8&feature=youtu.be

* With lockDMAToFrontPorch(true) and logo 2 : https://www.youtube.com/watch?v=ZQFIjuRJzN0&feature=youtu.be

* With lockDMAToFrontPorch(false) and logo 1 : https://www.youtube.com/watch?v=fteLrblcx_A&feature=youtu.be

So you can see :

* lockDMAToFrontPorch(true) improves things, but it's not perfect

* Given the image we load, we have different behavior, as TouchGFX logo has no issue

* Transition between screens is not clean

* Sliding the slider is also not clean

logo 1 : https://imgur.com/G2k3Ne9

logo 2 : https://imgur.com/yrsQu5s

Let me know if you need more information.

Tony

@Martin KJELDSEN​ Any ideas where this could come from ?

Tony

vtunr
Associate III

Switched to 16bits, working fine now.

Also some improvements come from :

  • Putting framebuffer in different memory bank
  • For 24 bit, setting 832 pixel wide

They are explained : https://www.st.com/content/ccc/resource/technical/document/application_note/group0/25/ca/f9/b4/ae/fc/4e/1e/DM00287603/files/DM00287603.pdf/jcr:content/translations/en.DM00287603.pdf (4.5.2, 4.5.3)