AnsweredAssumed Answered

LPC1769 I2C example is not working

Question asked by kalpeshbalar on Apr 16, 2018
Latest reply on Apr 23, 2018 by Victor Jimenez



I am using LPCExpresso LPC1769 REV C board.

I am running "lpcopen_2_10_lpcxpresso_nxp_lpcxpresso_1769" samples on this board.

I am trying to run "periph_i2c" example on this board.

But this example is not able to probe I2C device.

Here is Debug output of the example.

**************** I2C Demo Menu ****************

0: Exit Demo

1: Select I2C peripheral [I2C0]


3: Probe for Slave devices

4: Read slave data

5: Write slave data

6: Write/Read slave data


Select an option [0 - 6] :3

Probing available I2C devices...


00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F



Here I guess When it tries to read first address using API "Chip_I2C_MasterRead" this API call is getting stuck somewhere.


Can you please help me out to successfully run this example? Or can some one share me athe updated program.

Attached is "periph_i2c" example I am using.