2008-07-01 07:42 AM
I2C addresses
2011-05-17 03:38 AM
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.2011-05-17 03:38 AM
I vaguely remember that I2C_OwnAddress1 might be the stm32 (main) I2C address when the macrocell is used is slave mode.
2011-05-17 03:38 AM
So then should be any address different from the address of the rest of the devices, shouldn't it?
2011-05-17 03:38 AM
in what mode? if you don't know what slave and master modes are, please read the manual.