cancel
Showing results for 
Search instead for 
Did you mean: 

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

MGunn.1
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Martin KJELDSEN
Chief III

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

View solution in original post

3 REPLIES 3
Martin KJELDSEN
Chief III

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

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
Chief III

Hopefully this becomes more clear with the new documentation.

/Martin