i2c chip bus address

Thread Starter

Mad Professor

Joined Apr 15, 2009
133
Good day all.

I am trying to connect my Arduino Uno to a O2Micro OZ890 chip via i2c.

I have been looking over the datasheet for the O2Micro OZ890 chip to try and find out if the chips i2c address is set via hardware or software.

If someone has a few spare min's could they please have a quick look over the datasheet, and see if they can find what I am overlooking?

Here is the O2Micro OZ890 Datasheet <Click Here (787Kb).

Thanks for your time.

Best Regards.
 

Papabravo

Joined Feb 24, 2006
21,228
Look at page 56 of the datasheet. Register 0x30 contains two parameters which are SC release control and I2C Address. You have 16 choices in the range [0x00..0x0F]. The actual I2C address for a value of this parameter equal to N will be:
Rich (BB code):
0x60 + 2 * N

so for a value of 0x03 the resulting I2C address will be 0x66
I did not delve into the datasheet far enough to figure out what is the initial value of the uninitialized EEPROM or if there was another way to program the EEPROM that does not involve the I2C bus. That is an exercise for the reader.
 
Top