From: Alex G. <ad...@so...> - 2007-04-02 23:37:02
|
Hey Dave, We have the SPI connected on the GPIO B 5V on the Roboaudiostix. We currently use pins 3 (SPI - Master In Slave Out), 5(SPI - Master Out Slave In ~hs ), 6 (General Purpose I/O pin), 7 (SPI- Clock) and 8 (General Purpose I/O pin). We deliver 5V, 0v/common via a seperate board. Will spi-io we able to control sensors attached to here? Many Thanks, Alex ----- Original Message ----- From: "Dave Hylands" <dhy...@gm...> To: "General mailing list for gumstix users." <gum...@li...> Sent: Monday, April 02, 2007 11:59 PM Subject: Re: [Gumstix-users] I2C Address out of range > Hi Alex, > > On 4/2/07, Alex Gooding <ad...@so...> wrote: >> I got the sonar working, thank you. Am I right in now thinking that >> spi-io >> is the same as i2c-io, in being that I will not be able to access my SPI >> sensors connected to roboaudiostix with this command? I have a 3 (single >> axis) gyro and 3 (single axis) accelerometers connected via this link. Do >> I >> need to create a program similar to i2c (without the -io) but for spi, to >> access their registers? > > How are your spi devices connected? The reason I ask is that the > robostix doesn't bring out the spi signals. > > Yeah - although spi devices normally need some type of chip select, so > you need a chip select per device, and your spi command would need to > activate the appropriate signals. > > -- > Dave Hylands > Vancouver, BC, Canada > http://www.DaveHylands.com/ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > |