cancel
Showing results for 
Search instead for 
Did you mean: 

There is delay in screen interaction and touch buttons.

Freedom_Neo
Senior

MCU: STM32H7B3IIT6 Custom Board

GUI: TouchGFX Version: 4.18.1

IDE: STM32CubeIDE Version: 1.8.0

CPU Clock: 280MHz

Peripherals & Timers Clock: 140MHz

I created a new project, but there is a delay in screen interactions. I summarized the situation in the video below. Anyone have an idea about this? Why could it be.

4 REPLIES 4
Osman SOYKURT
ST Employee

Hi Freedom_Neo,

Could you give more information about your configuration please ?

  • Which board do you use ?
  • Which version of TouchGFX Designer do you use ?
  • Which version of STM32CubeMX do you use ?
  • Which compiler do you use ? (EWARM, STM32CubeIDE, MDK-ARM ...)

I'm suspecting something like HAL_Delay() functions which might be called in your code. Is there anything like this ?

You can also verify if your clock frequency is "normal" that is to say, if 1 sec in real is 1 sec for your board. For this, I can suggest you to try to add an image that moves from a point A to a point B in 1 second for example with a "MoveAnimator" mixin (https://support.touchgfx.com/4.18/docs/development/ui-development/touchgfx-engine-features/mixins), and see if the animation is done in 1 sec, or more.

Thanks,

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX

No, I dont use HAL_Delay() functions.

Dont have time problem, I see 1 second

Osman SOYKURT
ST Employee

Hi Freedom_Neo,

Have you tried debugging this with break points ? Do you store your resources in an external RAM ? if it's the case, the connection between your board and your RAM might be insufficient.

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX
ssipa.1
Associate II

Segger will help you in creating widgets 

In HalCube pack you have examples for all peripherials of stm32 Discovery. There ale also datasheets for discovery board, stm32, segger, and everything You need. Check out these files !