lpcware

MCB4300 board's EEPROM slave i2c address

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by grtester on Mon Nov 24 18:05:16 MST 2014
    I'm working on the Keil MCB4300 (LPC4357) board which has an EEPROM: a Microchip 24LC128. The data sheet states its I2C slave address should be 0xA2. (1010 for control code, and bit A0 is hardwired to high, according to board schematic). The LPCOpen project periph_i2c's i2c.c defines the the slave address as 0x5A instead.

i2c.c:

line 69: #define I2C_SLAVE_EEPROM_ADDR       0x5A

    Is the project wrong, or did I interpret the datasheet incorrectly? The project hangs for me, so I'm wondering if this is the problem.

Outcomes