AnsweredAssumed Answered

DA9052 Touch Driver

Question asked by larson on Jan 21, 2013
Latest reply on Jul 4, 2013 by Holy Yuan

Hi all,

      I meet some problem about the touch driver use the DA9052, when run the application, and hold the screen not to put, the application display will be very jammed, i find some reason about it, but only find when i touch the screen the touch interrupt will always in and the application will not be response soon, so can someone help me, thanks and regards!

 

     Here is some debug message at below:

PID:00400002 TID:05A40026 PMIC PDK: PEN UP

PID:00400002 TID:05A40026 PmicSdk_da9052: Exit

PID:00400002 TID:05A40026 adc_x[0] = 729, adc_y[0] = 374

PID:00400002 TID:05A40026 adc_x[1] = 729, adc_y[1] = 374

PID:00400002 TID:05A40026 adc_x[2] = 729, adc_y[2] = 374

PID:00400002 TID:05A40026 adc_x[3] = 0, adc_y[3] = 0

PID:00400002 TID:05A40026 output location( 728, 373)

PID:00400002 TID:05A40026 -BSPTouchGetSample()

PID:00400002 TID:05A40026 +BSPTouchGetSample()

PID:00400002 TID:05A40026 PmicSdk_da9052: In

PID:00400002 TID:05A40026 PMI_IOControl PMIC_IOCTL_ADC_TOUCH_READ

PID:00400002 TID:05A40026 Got 1 raw TSI data

PID:00400002 TID:05A40026 RawData[bDataCount - 1].bLSB = 85, DA9052_TSILSB_PENDOWN = 64

PID:00400002 TID:05A40026 PMIC PDK: PEN UP

PID:00400002 TID:05A40026 PmicSdk_da9052: Exit

PID:00400002 TID:05A40026 adc_x[0] = 729, adc_y[0] = 373

PID:00400002 TID:05A40026 adc_x[1] = 729, adc_y[1] = 373

PID:00400002 TID:05A40026 adc_x[2] = 729, adc_y[2] = 373

PID:00400002 TID:05A40026 adc_x[3] = 0, adc_y[3] = 0

PID:00400002 TID:05A40026 output location( 728, 373)

PID:00400002 TID:05A40026 -BSPTouchGetSample()

PID:00400002 TID:05A40026 +BSPTouchGetSample()

PID:00400002 TID:05A40026 PmicSdk_da9052: In

PID:00400002 TID:05A40026 PMI_IOControl PMIC_IOCTL_ADC_TOUCH_READ

PID:00400002 TID:05A40026 Got 1 raw TSI data

PID:00400002 TID:05A40026 RawData[bDataCount - 1].bLSB = 102, DA9052_TSILSB_PENDOWN = 64

PID:00400002 TID:05A40026 PMIC PDK: PEN UP

PID:00400002 TID:05A40026 PmicSdk_da9052: Exit

PID:00400002 TID:05A40026 adc_x[0] = 730, adc_y[0] = 373

PID:00400002 TID:05A40026 adc_x[1] = 730, adc_y[1] = 373

PID:00400002 TID:05A40026 adc_x[2] = 730, adc_y[2] = 373

PID:00400002 TID:05A40026 adc_x[3] = 0, adc_y[3] = 0

PID:00400002 TID:05A40026 output location( 729, 373)

PID:00400002 TID:05A40026 -BSPTouchGetSample()

PID:00400002 TID:05A40026 +BSPTouchGetSample()

PID:00400002 TID:05A40026 PmicSdk_da9052: In

PID:00400002 TID:05A40026 PMI_IOControl PMIC_IOCTL_ADC_TOUCH_READ

PID:00400002 TID:05A40026 Got 1 raw TSI data

PID:00400002 TID:05A40026 RawData[bDataCount - 1].bLSB = 105, DA9052_TSILSB_PENDOWN = 64

PID:00400002 TID:05A40026 PMIC PDK: PEN UP

PID:00400002 TID:05A40026 PmicSdk_da9052: Exit

PID:00400002 TID:05A40026 adc_x[0] = 725, adc_y[0] = 374

PID:00400002 TID:05A40026 adc_x[1] = 725, adc_y[1] = 374

PID:00400002 TID:05A40026 adc_x[2] = 725, adc_y[2] = 374

PID:00400002 TID:05A40026 adc_x[3] = 0, adc_y[3] = 0

PID:00400002 TID:05A40026 output location( 726, 373)

PID:00400002 TID:05A40026 -BSPTouchGetSample()

PID:00400002 TID:05A40026 +BSPTouchGetSample()

PID:00400002 TID:05A40026 PmicSdk_da9052: In

PID:00400002 TID:05A40026 PMI_IOControl PMIC_IOCTL_ADC_TOUCH_READ

PID:00400002 TID:05A40026 Got 1 raw TSI data

PID:00400002 TID:05A40026 RawData[bDataCount - 1].bLSB = 86, DA9052_TSILSB_PENDOWN = 64

PID:00400002 TID:05A40026 PMIC PDK: PEN UP

PID:00400002 TID:05A40026 PmicSdk_da9052: Exit

PID:00400002 TID:05A40026 adc_x[0] = 730, adc_y[0] = 373

PID:00400002 TID:05A40026 adc_x[1] = 730, adc_y[1] = 373

PID:00400002 TID:05A40026 adc_x[2] = 730, adc_y[2] = 373

PID:00400002 TID:05A40026 adc_x[3] = 0, adc_y[3] = 0

PID:00400002 TID:05A40026 output location( 728, 373)

PID:00400002 TID:05A40026 -BSPTouchGetSample()

PID:00400002 TID:05A40026 +BSPTouchGetSample()

PID:00400002 TID:05A40026 PmicSdk_da9052: In

PID:00400002 TID:05A40026 PMI_IOControl PMIC_IOCTL_ADC_TOUCH_READ

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 PMIC PDK: PEN UP

PID:00400002 TID:05A40026 PmicSdk_da9052: Exit

PID:00400002 TID:05A40026 adc_x[0] = 0, adc_y[0] = 0

PID:00400002 TID:05A40026 adc_x[1] = 0, adc_y[1] = 0

PID:00400002 TID:05A40026 adc_x[2] = 0, adc_y[2] = 0

PID:00400002 TID:05A40026 adc_x[3] = 0, adc_y[3] = 0

PID:00400002 TID:05A40026 cleanUp 2

PID:00400002 TID:05A40026 +BSPTouchInterruptDone()

PID:00400002 TID:05A40026 -BSPTouchInterruptDone()

PID:00400002 TID:05A40026 -BSPTouchGetSample()

PID:00400002 TID:05A40026 +BSPTouchGetSample()

PID:00400002 TID:05A40026 PmicSdk_da9052: In

PID:00400002 TID:05A40026 PMI_IOControl PMIC_IOCTL_ADC_TOUCH_READ

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 1 raw TSI data

PID:00400002 TID:05A40026 RawData[bDataCount - 1].bLSB = 86, DA9052_TSILSB_PENDOWN = 64

PID:00400002 TID:05A40026 PMIC PDK: PEN UP

PID:00400002 TID:05A40026 PmicSdk_da9052: Exit

PID:00400002 TID:05A40026 adc_x[0] = 718, adc_y[0] = 289

PID:00400002 TID:05A40026 adc_x[1] = 718, adc_y[1] = 289

PID:00400002 TID:05A40026 adc_x[2] = 718, adc_y[2] = 289

PID:00400002 TID:05A40026 adc_x[3] = 0, adc_y[3] = 0

PID:00400002 TID:05A40026 output location( 718, 289)

PID:00400002 TID:05A40026 -BSPTouchGetSample()

PID:00400002 TID:05A40026 +BSPTouchGetSample()

PID:00400002 TID:05A40026 PmicSdk_da9052: In

PID:00400002 TID:05A40026 PMI_IOControl PMIC_IOCTL_ADC_TOUCH_READ

PID:00400002 TID:05A40026 Got 1 raw TSI data

PID:00400002 TID:05A40026 RawData[bDataCount - 1].bLSB = 91, DA9052_TSILSB_PENDOWN = 64

PID:00400002 TID:05A40026 PMIC PDK: PEN UP

PID:00400002 TID:05A40026 PmicSdk_da9052: Exit

PID:00400002 TID:05A40026 adc_x[0] = 723, adc_y[0] = 290

PID:00400002 TID:05A40026 adc_x[1] = 723, adc_y[1] = 290

PID:00400002 TID:05A40026 adc_x[2] = 723, adc_y[2] = 290

PID:00400002 TID:05A40026 adc_x[3] = 0, adc_y[3] = 0

PID:00400002 TID:05A40026 output location( 720, 289)

PID:00400002 TID:05A40026 -BSPTouchGetSample()

PID:00400002 TID:05A40026 +BSPTouchGetSample()

PID:00400002 TID:05A40026 PmicSdk_da9052: In

PID:00400002 TID:05A40026 PMI_IOControl PMIC_IOCTL_ADC_TOUCH_READ

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 PMIC PDK: PEN UP

PID:00400002 TID:05A40026 PmicSdk_da9052: Exit

PID:00400002 TID:05A40026 adc_x[0] = 0, adc_y[0] = 0

PID:00400002 TID:05A40026 adc_x[1] = 0, adc_y[1] = 0

PID:00400002 TID:05A40026 adc_x[2] = 0, adc_y[2] = 0

PID:00400002 TID:05A40026 adc_x[3] = 0, adc_y[3] = 0

PID:00400002 TID:05A40026 cleanUp 2

PID:00400002 TID:05A40026 +BSPTouchInterruptDone()

PID:00400002 TID:05A40026 -BSPTouchInterruptDone()

PID:00400002 TID:05A40026 -BSPTouchGetSample()

PID:00400002 TID:05A40026 +BSPTouchGetSample()

PID:00400002 TID:05A40026 PmicSdk_da9052: In

PID:00400002 TID:05A40026 PMI_IOControl PMIC_IOCTL_ADC_TOUCH_READ

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 0 raw TSI data

PID:00400002 TID:05A40026 Got 1 raw TSI data

PID:00400002 TID:05A40026 RawData[bDataCount - 1].bLSB = 77, DA9052_TSILSB_PENDOWN = 64

PID:00400002 TID:05A40026 PMIC PDK: PEN UP

PID:00400002 TID:05A40026 PmicSdk_da9052: Exit

PID:00400002 TID:05A40026 adc_x[0] = 713, adc_y[0] = 251

PID:00400002 TID:05A40026 adc_x[1] = 713, adc_y[1] = 251

PID:00400002 TID:05A40026 adc_x[2] = 713, adc_y[2] = 251

PID:00400002 TID:05A40026 adc_x[3] = 0, adc_y[3] = 0

PID:00400002 TID:05A40026 output location( 713, 251)

PID:00400002 TID:05A40026 -BSPTouchGetSample()

PID:00400002 TID:05A40026 +BSPTouchGetSample()

PID:00400002 TID:05A40026 PmicSdk_da9052: In

PID:00400002 TID:05A40026 PMI_IOControl PMIC_IOCTL_ADC_TOUCH_READ

PID:00400002 TID:05A40026 Got 1 raw TSI data

PID:00400002 TID:05A40026 RawData[bDataCount - 1].bLSB = 64, DA9052_TSILSB_PENDOWN = 64

PID:00400002 TID:05A40026 PMIC PDK: PEN UP

PID:00400002 TID:05A40026 PmicSdk_da9052: Exit

PID:00400002 TID:05A40026 adc_x[0] = 716, adc_y[0] = 252

PID:00400002 TID:05A40026 adc_x[1] = 716, adc_y[1] = 252

PID:00400002 TID:05A40026 adc_x[2] = 716, adc_y[2] = 252

PID:00400002 TID:05A40026 adc_x[3] = 0, adc_y[3] = 0

PID:00400002 TID:05A40026 output location( 714, 251)

PID:00400002 TID:05A40026 -BSPTouchGetSample()

PID:00400002 TID:05A40026 +BSPTouchGetSample()

PID:00400002 TID:05A40026 PmicSdk_da9052: In

PID:00400002 TID:05A40026 PMI_IOControl PMIC_IOCTL_ADC_TOUCH_READ

PID:00400002 TID:05A40026 Got 1 raw TSI data

PID:00400002 TID:05A40026 RawData[bDataCount - 1].bLSB = 23, DA9052_TSILSB_PENDOWN = 64

PID:00400002 TID:05A40026 PMIC PDK: PEN UP

PID:00400002 TID:05A40026 PmicSdk_da9052: Exit

PID:00400002 TID:05A40026 adc_x[0] = 0, adc_y[0] = 0

PID:00400002 TID:05A40026 adc_x[1] = 0, adc_y[1] = 0

PID:00400002 TID:05A40026 adc_x[2] = 0, adc_y[2] = 0

PID:00400002 TID:05A40026 adc_x[3] = 0, adc_y[3] = 0

PID:00400002 TID:05A40026 cleanUp 2

PID:00400002 TID:05A40026 +BSPTouchInterruptDone()

PID:00400002 TID:05A40026 -BSPTouchInterruptDone()

PID:00400002 TID:05A40026 -BSPTouchGetSample()

 

Outcomes