Hi All,
I am working on custom board(DM3730 ) which has Gingerbread (kernel-2.6.37) OS. I have connected a Atmel mxt224T touch panel to it. To test the touch panel i am using the touch test application. The issue is, some times initial touch coordinates are missing when i draw line on the touch screen. By debugging i found that, at touch coordinates missing case, there is considerable delay(more than 250ms) in calling the ISR of the touch panel. In normal case ISR is called with in 40ms. After ISR is called, immediately worker thread is called with very less latency. In the thread function i am doing I2C read, writes to get the touch data.
In mxt224T touch driver, requesting irq is as below.
request_threaded_irq(client->irq, mxt_hard_isr, mxt_interrupt, IRQF_TRIGGER_LOW | IRQF_ONESHOT, client->name, data);
What is the reason to have 250ms latency in callilng the hard ISR function?
Thanks in advance.
BR,
Kishore