From: Steve S. <sa...@gm...> - 2007-12-23 03:54:43
|
Erick, It isn't necessary to add pullups to the i2c lines on the tsc2003. If you try playing around with the tsc2003 using Dave Hyland's excellent i2c command line program you will find that you can talk to the chip just fine. I was able to poke around and read the various registers and got back reasonable values. If you read the driver output messages you will see that it does succeed in its first probe of the chip. Something goes awry after that point though. I've been too swamped with other tasks to look into this, but hopefully will get to it sometime over the holidays. Steve On Dec 22, 2007 7:00 PM, thaGod <th...@gm...> wrote: > > I have gone as far as you in this new fix for the touchscreen driver. You > might try adding pullup resistors as described in the previous touchscreen > thread. > > TI TSC2003 touchscreen controller (supplied with Gumstix Samsung display) > > I haven't re-probed the touchscreen controller with my o-scope since I've > added this jumper, but it can't solve the pullup problem so I can only > assume that they must still be added. Don't take this for gospel, but that > message would indicate exactly what you would expect from an i2c circuit > with no pullups. There must be pullups in order to free the line for > transmission. > > I added these pullups before by soldering jumper wire to the SDL and SCL > lines of the tsc2003 and then clipping resistors in line with VCC... not an > elegant solution, but it will do for testing. Good luck... maybe I'll get > back around to feeling this out the rest of the way too. > > Erick > > > > Magnus Ekhall wrote: > > > > Demetris Zavorotnichenko wrote: > >> Why, what is wrong with this one ? Are you having problems ? > >> > >> > >> Demetris Z. > >> > >> > > > > Yes, at the moment I get the following errors when I insmod the driver: > > " > > i2c_adapter i2c-1: i2c_pxa_set_slave: wait timedout > > tsc2003_i2c_detect: probing address 0x48 > > i2c_adapter i2c-1: i2c_pxa: timeout waiting for bus free > > " > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > > > -- > View this message in context: http://www.nabble.com/Touchscreen-driver-TSC2003-i2c-timeout-tp14445072p14475397.html > Sent from the Gumstix mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |