AnsweredAssumed Answered

Wrong I2C addresses

Question asked by Dimitris Sideris on Nov 14, 2016
Latest reply on Nov 16, 2016 by Kerry Zhou

Hi there,

 

I have a custom pcb with an LPC 4367 on it.

 

I am trying to build a multisensor device with multiple i2c sensors.

 

According to datasheets, sensors are expected to have specific i2c addresses.

 

From lpcopen examples, I use i2c_probe_slaves function from i2c example and i see other addresses than expected and although 4 i2c sensors are on pcb more addresses occur. (without having any other i2c devices) !!!???

Could that be error responses from i2c devices and not their adresses?

 

i2c_probe_slaves function of i2c example uses Chip_I2C_MasterRead function to find i2c slave device address.

 

The lpcopen driver is implemented in such a way that can talk with every i2c device or in some cases this Chip_I2C_MasterRead function cannot get a device's address?

 

Can anyone help me figure out why i get wrong i2c addresses?

Outcomes