Re: Touchscreen chip is not an ADS 7846

From: Pierre GAUFILLET <pierre.gaufillet_at_magic.fr>
Date: Tue, 30 Jan 2007 08:32:59 +0100

Paul Sokolovsky a écrit :
> Hello Pierre,
>
> Tuesday, January 30, 2007, 12:06:54 AM, you wrote:
>
>
>> Paul Sokolovsky a ecrit :
>>
>>>
>> 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.
>>
>
> Well, I actually also reviewed the ads7846ts_ssp vs hx4700_ts code,
> preparing to use the first in place of second, and discovered few
> things and fixed few issues. First of all, PXA25x and PXA27x appear to
> have differences in SSP ports. PXA27x has few more features and
> different base SSP frequency. But even with that, ads7846_ssp should
> still work on PXA27x (the frequency it uses is still lower than used
> on hx4700_ts and offshots). Of course, as long as SSP1 port is used,
> and that appears to be your case. At the same time, I fixes some race
> condition in ads7846_ssp. So, please try it now, and if it still won't
> work, then oops, I'll need to make it run on hx4700 first then.
>
>
I still get the same errors. I'll try to compare in detail the two codes
on my side.

Pierre
Received on Tue Jan 30 2007 - 02:33:01 EST

This archive was generated by hypermail 2.2.0 : Tue Jan 30 2007 - 02:33:14 EST