From: Dave H. <dhy...@gm...> - 2006-11-07 14:47:57
|
Hi Chris, > I was finally able to try this out- it looks like something is wrong. Here > is the output I get from i2c-test > > gumstix: SCL: 0 SDA: 1 > robostix: SCLw: 1 SCLr: 0 SDAw: 1 SDAr: 1 DDRD: 0 PIND: 2 > > As you can see, its much different than what you have listed on the wiki > page. Any ideas? This often happens if the i2c driver is loaded, but if you're seeing with the i2c driver (i2c-pxa and i2c-dev) not being loaded, then it tells me that the SCL line is being held low (could be a solder-bridge). This would of course explain why i2c doesn't work. It could also be that the pullup resistor on the robostix isn't making connection. Try doing this: modprobe proc_gpio echo "GPIO out set" > /proc/gpio/GPIO81 and then press the spacebar while i2c-test is running. Do you see any changes? GPIO 81 is the NSSP_CLK pin, which is immediately adjacent to SCL on the hirose connector (SDA is next to it on the other side). Next thing to try is to take the SCL pin on the UARTS connector (pin 16) and verify that there is no connection with ground (using a multimeter). If it's not shorted to ground then you can try connecting it to pin 14, which is +5. Press the space bar while the i2c-test program is running. DO you see any change? -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |