Skip to main content
MGunn.1
Associate
April 2, 2020
Solved

How to get the slide screen transition to work on the STM32F746G Discovery Kit.

  • April 2, 2020
  • 3 replies
  • 1213 views

I am a bit new on stm32 hardware and TouchGFX and I have the following problem.

The screen slide transition works when running the simulator but not on the board.

  • Tested the UI template named Transition Example and instead of sliding between screens the screens switch in an instant on the board while it works in the simulator.
  • The slide animation on screen changes also does not seem to work on the TouchGFX Demo 1. They work for the simulator but not on the board, and looking at the demonstration on the Touchgfx Youtube page the screen transitions does not seem to work there neither https://www.youtube.com/watch?v=H7nBx23a8x4.

From reading previous questions on this webpage my best guess is that the Animation Storage is not configured but the links referred to are to the old documentation and no longer seem to work.

If the Animation Storage is the problem how do I configure that?

Are there any Examples capable of running on the STM32F746G Discovery board that have working sliding screen transitions?

This topic has been closed for replies.
Best answer by Martin KJELDSEN

Hi,

The slide transition requires a third framebuffer (The cover transition does not) which can be configured when setting up the HAL (calling setFrameBufferStartAddresses from TouchGFXHAL::initialize() in TouchGFXHAL.cpp)

/Martin

3 replies

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
April 3, 2020

Hi,

The slide transition requires a third framebuffer (The cover transition does not) which can be configured when setting up the HAL (calling setFrameBufferStartAddresses from TouchGFXHAL::initialize() in TouchGFXHAL.cpp)

/Martin

MGunn.1
MGunn.1Author
Associate
April 3, 2020
Hi
Thanks for the quick answer.
My issue were that I had not understood that I could use the TouchGFXHAL.cpp file to override the generated initialisation function.
I got it working, thanks for your time
Best regards
Martin KJELDSEN
Principal III
April 3, 2020

Hopefully this becomes more clear with the new documentation.

/Martin