cancel
Showing results for 
Search instead for 
Did you mean: 

32F469IDISCOVERY Display Freeze, Touchpanel issue

Julian_
Associate II

Hi all,

we're facing some issues with the STM32F469IDISCOVERY board. Sometimes the display seems to be freezing. I started a debug session yesterday and found out that during this error the ft6x06_TS_GetXY function gets called without touching the display. If the error doesn't occur we can see that the ft6x06_TS_DetectTouch function is called frequently to poll for new touch events, right? Only if there is an event the GetXY function is called to get the proper coodinates for the touch event.

This is why I think that during the error state multiple touch events get rocognized without a real touch event.

Our STM32F469IDISCOVERY board uses the FT6336G touch controller. Is the ft6x06 driver still the newest driver for this controller or is there an alternative (if I create a new TouchGFX project with TouchGFX Designer this driver is also loaded).

Are there any solutions for this behaviour? Thanks.

Julian

 

Julian__0-1738256958380.png

Julian__1-1738256973391.pngJulian__2-1738256993005.png

 

13 REPLIES 13

Hello @Julian_ ,

 

I have looked at the video and I reproduced the issue.
But the issue only happens when you increase the size of the swipe container, if you keep it as intended it works fine.
Also, I do not see/experience ghost touch on my project.

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

@GaetanGodart 

Alright, I will check this in the next few days. I don't know why the increasing of the Touch Area (in TouchGFX Designer) should be the cause of this issue.

 

Is there a way to reset the Touch Controller during runtime to handle this error?

 

Thanks and kind regards,

Julian

Hello @Julian_ ,

 

Perhaps it happens because when we increase the size of the swipe container, the swipe container becomes bigger than the assets we use for it.

"Is there a way to reset the Touch Controller during runtime to handle this error?"
I assume you mean the ghost touch, because it won't affect the swipe container's behavior.
I am not sure how to do that, I will get more information.
In the meantime, you could 2 things.
I have not seen a method to de init the touch controller :

GaetanGodart_0-1739955486989.png

You could either create a de-init method and call it SDL2TouchController :

GaetanGodart_1-1739955600460.png

Or you could try to de init the SPI that is used for it, then re init the SPI and the touch controller.
I will come back to you when I know more.

 

Regards

 

Gaetan Godart
Software engineer at ST (TouchGFX)

@GaetanGodart 

"Perhaps it happens because when we increase the size of the swipe container, the swipe container becomes bigger than the assets we use for it." - so if we increase all the assets the error should not occure, right? Is there a test/sample project for the stm32f469 disco board I can run without any changes to verify the touch behaviour?

 

""Is there a way to reset the Touch Controller during runtime to handle this error?"
I assume you mean the ghost touch, because it won't affect the swipe container's behavior." -> Right, we're trying to find a workaround for the issue. E.g. reset the touch controller if there are ghost touches.

Thanks for providing the more detailed info about some possible workarounds to reset (deinit and reinit) the touch controller. I will have a look over this in the next days.

Would be nice if you if you keep me updated.

 

Best,

Julian