Re: Touchscreen chip is not an ADS 7846

From: Pierre GAUFILLET <pierre.gaufillet_at_magic.fr>
Date: Mon, 29 Jan 2007 23:06:54 +0100

Paul Sokolovsky a écrit :
> Hello Pierre,
>
> Monday, January 29, 2007, 9:26:04 PM, you wrote:
>
> []
>
>>> Yes, I refactored it exactly for your use, and I'd appreciate if you
>>> give it try (and win ;-) ). Please see h4000 code fro how to use it
>>> (pretty simple actually, you just need to pass in pen down IRQ).
>>>
>>> I also confirmed that ADS7846 and TSC2046 are exact clones. Quoting
>>> doc:
>>> "The TSC2046 is 100% pin-compatible with the existing
>>> ADS7846, and will drop into the same socket."
>>> They talk about pin compatibility here, but looking at command bits,
>>> programmatical interface is the same too. So, this is great news,
>>> meaning that the whole dozen of PDAs can use the same driver. I will
>>> try ads7846ts_ssp on hx4700 as the next thing to do too.
>>>
>>>
>> ok : go for it, then :-)
>> Just a question : do you have any idea of the transfer laws to be used ?
>> I get some really non-linear measurements...
>>
Something goes wrong with the device-independent 7846 driver.
It seems that the SPI communication is faulty. As long as the stylus is
down, it prints :

ads7846_ssp_putget: warning: timeout while waiting for SSSR_RNE_MSK
ads7846_ssp_putget: warning: timeout while waiting for SSSR_TNF_MSK
ads7846_ssp_putget: warning: timeout while waiting for SSSR_RNE_MSK
ads7846_ssp_putget: warning: timeout while waiting for SSSR_TNF_MSK

I do not understand why...
Attached is the touchscreen module I hacked, if it can help.

Pierre

Received on Mon Jan 29 2007 - 17:06:57 EST

This archive was generated by hypermail 2.2.0 : Mon Jan 29 2007 - 17:08:15 EST