http://www.steventaffs.pwp.blueyonder.co.uk/
I have used a ads7846 in the project above (see schematic page 6). Follow the uClinux link and click on actelm7_kern12.patch the search for ads7846_ts_input.c it is a hacked up example, that works for the ads7846. basically you need to fill in the ads struct's correctly and linux will do the rest --- On Mon, 4/26/10, Fabio Giovagnini <fabio.giovagn...@aurion-tech.com> wrote: > From: Fabio Giovagnini <fabio.giovagn...@aurion-tech.com> > Subject: [uClinux-dev] Re: Hi guys, does any of you have experience with > touchscreen controllers? > To: "Michael Trimarchi" <trimar...@gandalf.sssup.it> > Cc: "Dale Larson" <d-lar...@wi.rr.com>, "uClinux development list" > <uclinux-dev@uclinux.org>, "Linux-SH" <linux...@vger.kernel.org> > Date: Monday, April 26, 2010, 11:45 AM > Thanks a lot. > But where is a good example for starting from? > > Thanks > > > > In data lunedì 26 aprile 2010 12:41:13, Michael Trimarchi > ha scritto: > : > hi fabio, > > > > Fabio Giovagnini wrote: > > > Hi Dale, > > > maybe I need to be more clear about my > condition. > > > 1) I connected the ads7843 to general I/O ports > because the SPIs > > > available on sh2a7203 have been be used for other > functions; > > > > It is not a big problem, you can also bitbang on the > gpio pin. > > > > > 2) My real problem is the following: I wrote an > ADS7843 device driver as > > > a button driver of the input subsystem. I > configured the ads7843 with INT > > > enabled; so when the touch is pressed I have a > burst of IRQ. The IRQ > > > handler read the ads7843 and return to the input > subsystem the abs values > > > of the touchscreen. > > > > I think tha rewrite the code it is not so usefull but > reuse the code > > using a bitbang interface > > it's more simple and don't need a lot of testing > > > > Michael Trimarchi > > > > -- > Fabio Giovagnini > > Aurion s.r.l. > P.I e C.F. > 00885711200 > Tel. +39.051.594.78.24 > Cell. +39.335.83.50.919 > _______________________________________________ > uClinux-dev mailing list > uClinux-dev@uclinux.org > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by uclinux-dev@uclinux.org > To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev > _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev