Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×
User Journal

Journal FuzzyDaddy's Journal: I2C is a pain in the ass

I just added a new device to the I2C bus on my system. It always takes an hour to figure out the damn address on the thing. You set it up, it doesn't work, and if you are inexperienced you hook up the oscilloscope. I've finally learned to go back and reread the datasheet, where on page 673 they mention, "oh by the way" that the device in the MSOP package has a different address then the SOT package. Then does the configuration software bit shift the address to the left by 1 to make room for the write bit, or does it just OR it on the end?

Arghh... at least I finally got the damn thing working this time before I pulled out the scope.

This discussion has been archived. No new comments can be posted.

I2C is a pain in the ass

Comments Filter:

Did you know that for the price of a 280-Z you can buy two Z-80's? -- P.J. Plauger

Working...