lpcware

LPCOpen I2C example project slave mode not working: cannot probe or read.

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by lerlacher on Sun Apr 13 08:41:01 MST 2014
I am using the LPCOpen I2C example with an LPC11C24 breakaway board, programmed with LPC-Link.

I just compiled and uploaded the image (with LPC-Link), and it runs, but I can't probe or read the two simulated slave devices.
I am doing the probing and reading from a raspberry pi using the linux i2c-tools.
I'm pretty sure the raspberry pi and the bus are set up correctly. To make sure, I also have an arduino running as a slave on the same bus, and I can probe and read it without problems.

Sadly I don't have a base board here so I don't have a UART connection to use the menu in the example, but the code looks like the slaves should be working despite that.

Is there anything obvious or any errata in the example code that I'm missing?

Best,
Luke

Outcomes