LPC11xx i2c slave example

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC11xx i2c slave example

1,569 Views
pyot
Contributor I

Hi,

I'm looking for sample code of LPC11xx i2c slave.

I want to send back bytes to the master from slave.

Please tell me direction of such a example codes.

Labels (1)
Tags (1)
0 Kudos
2 Replies

843 Views
soledad
NXP Employee
NXP Employee

Hi,

You can use LPCOpen software for LPC11xx. LPCOpen Software for LPC11XX|NXP 

LPCOpen contains an I2C example that you can use as reference. This example shows how to use I2C as master or slave and communicate between Master and Slave with polling/interrupt mode. (Interrupt mode is default).

I hope this helps,


Have a great day,
Soledad

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

843 Views
pyot
Contributor I

Hi Soledad,

Thank you for your direction.

I will try use it.

Best  Regards,

py ot

0 Kudos