From: Adam S. <asa...@at...> - 2007-12-11 21:10:05
|
Figured it out..... sure enough it was the wrong address. I2C only takes the most significant 7 bits. Dave Hylands wrote: > Hi Adam, > > On Dec 11, 2007 7:52 AM, Adam Salamon <asa...@at...> wrote: > >> Yep. I used a 10k on both lines (as per my device datasheet). They are >> on the external board that I'm connecting to. >> > > The other common problem is using the incorrect address. > > The i2c address is the upper 7-bits in the address byte. Many data > sheets present the address byte and not the address itself. The actual > address is normally the address byte divided by 2. > > So from linux's perspective the address is a number from 0-127 (0x00 to 0x7F) > > Which device are you connecting to? > > -- Adam Salamon Member, Engineering Staff Lockheed Martin Advanced Technology Lab asa...@at... | (856) 792-9718 |