cancel
Showing results for 
Search instead for 
Did you mean: 

I2C addresses

alexcarrillo
Associate II
Posted on July 01, 2008 at 16:42

I2C addresses

4 REPLIES 4
alexcarrillo
Associate II
Posted on May 17, 2011 at 12:38

I'm programming an I2C driver for a EEPROM chip (M24C08).

As, in my device E2 is 1, the 7 bits addres of the device is 0xA8, insn't it?

What is the meaning of the parameter I2C_InitStructure.I2C_OwnAddress1? Which value should I have in this field?

The EEPROM is the only device in the bus.

Thanks.

lanchon
Associate III
Posted on May 17, 2011 at 12:38

I vaguely remember that I2C_OwnAddress1 might be the stm32 (main) I2C address when the macrocell is used is slave mode.

alexcarrillo
Associate II
Posted on May 17, 2011 at 12:38

So then should be any address different from the address of the rest of the devices, shouldn't it?

lanchon
Associate III
Posted on May 17, 2011 at 12:38

in what mode? if you don't know what slave and master modes are, please read the manual.