Skip to main content
Freedom_Neo
Senior
February 9, 2022
Question

There is delay in screen interaction and touch buttons.

  • February 9, 2022
  • 3 replies
  • 937 views

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.

This topic has been closed for replies.

3 replies

Osman SOYKURT
Technical Moderator
February 9, 2022

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 SOYKURTST Software Developer | TouchGFX
Freedom_Neo
Senior
February 9, 2022

No, I dont use HAL_Delay() functions.

Dont have time problem, I see 1 second

Osman SOYKURT
Technical Moderator
February 10, 2022

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 SOYKURTST Software Developer | TouchGFX
ssipa.1
Visitor II
February 10, 2022

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 !