From: Chris S. <chr...@gm...> - 2006-05-23 14:39:49
|
Dave I don't think that i2cSetSlaveAddress() is really being used for addressing. It is calling the I2C_SLAVE ioctl() but then I2cTransfer sets the slave address explicitly: msg[ 0 ].addr =3D gI2cAddr; What happens if I set useCrc to false? Chris On 5/23/06, Chris Sears <chr...@gm...> wrote: > > > 100kHz? I thought we were using *fast* I2C at 400kHz. In any case, > > > I'm completely limited by my I2C bandwidth. > > > > Hmmm. Yeah - I'm just using the default. I see that pxa-regs.h doesn't > > even have a definition for bit 15 (ICR_FM or Fast Mode) in the ICR > > register. > > Ok, is it enough to set ICR_FM? I'm talking to the 7998 chip over I2C > and also to the Robostix. Is there any change that needs to happen in > the Robostix i2c server program? > > > My approach is to use high level commands, like set speed to X, with > > accel A, and the robostix will adjust the speed on it's own. I'm also > > anticipating that most of the sensor filtering will take place on the > > robostix, with the robostix only sending significant events up to the > > gumstix. > > After toasting a Robostix earlier, I've been gunshy about doing > anything with it. So I've just been using the i2c server to set PWMs. > Looking backwards, making better use of the Robostix, using the > Connex (it was out of stock), using SPI, all would have been better. > > Chris > |