AnsweredAssumed Answered

STMPE811 touch controller on STM3220G-EVAL - bug?

Question asked by Scott on Dec 11, 2014
Latest reply on Dec 11, 2014 by Clive One
I noticed that the touch controller is not working properly to detect presses of the touchscreen on the STM3220G-EVAL and looked further into the code.  The problem appears to be rooted in BSP_TS_GetState() in the file stmpe811.c where it can sometimes return the value 0 even when the screen is being pressed presumably in a case where this function is called too frequently.  The other part of the problem is in stm322xg_eval_ts.c where the function BSP_TS_GetState() will return random values for x and y when the touchscreen is not being pressed.  Can someone from ST look into this and send out the corrected versions of these files?

Outcomes