icfans

手机屏灭待机,手指按住电阻屏,待机电流变大

0
阅读(273) 评论(0)

【Description】
LCD 屏幕进入睡眠(背光灭),按住TP,待机电流14~15ma.不按住TP,电流在1.5ma左右. TP漏电十
多ma左右
【Analyse】
手机屏灭后,RTP的IRQ没有被mask,手指触压,还会有IRQ进入,系统会触发中断,响应TP
EVENT,实际TP没有睡下去。
ICfansSolution】
DCL_STATUS DclSTS_Control(DCL_HANDLE handle, DCL_CTRL_CMD cmd, DCL_CTRL_DATA_T *data)
{
case XX
...
case STS_CMD_POWER_ON:
#if defined(__TOUCH_PANEL_CAPACITY__)
.....
#else
//add start
STS_CTRL_POWER_ON_T *prCtrlPO;
prCtrlPO = &(data->rTSCtrlPO);
//kal_prompt_trace(MOD_CC,"STS_CMD_POWER_ON (kal_bool)prCtrlPO->fgPowerOn =
%d",((kal_bool)prCtrlPO->fgPowerOn));
if((kal_bool)prCtrlPO->fgPowerOn) //enable
{
touch_panel_enable_(KAL_TRUE);
}
else
{
touch_panel_enable_(KAL_FALSE);
}
//add end
#endif
case xxxx
....
}