From: Andrei R. <po...@gm...> - 2007-02-17 18:36:45
|
On 2/17/07, Tom Playford <tom...@gm...> wrote: > Hi all, > > I am a fan of Dave Hylands gpio-event driver, and I've used it on a > few projects. > > I now find myself trying to archive the same result for some buttons > wired into a robostix attached to a gumstix. > > I have the i2c-io program working and reading the states of the input pins. > > I was thinking the simplest method would be to add some extra > functions to the i2c-io program running on the robostix to implement > some sort of event logging structure. That's what I did when I played with SPI driver for Robostix - details are in Wiki under software samples. Your modified i2c-io program may raise ATM IRQ line on the Robostix side, and you can monitor the line on Gumstix side with gpio-event and do i2c-io in response. Somewhere along the way Robostix has to reset ATM IRQ and everything starts over. |