Multiple LPC1114's on I2C

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

Multiple LPC1114's on I2C

212 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cdrfalken on Thu Dec 30 21:40:21 MST 2010
This might sound a little noobish, but I am attempting to network a few LPC1114's using I2C and I have a question about setting the target micros I2C address. I am a bit new to the LPC1114 and any help would be appreciated. So how do I set each micro to a different I2C address? I've looked at many posts regarding I2C in this forum but have not seen anything on how to accomplish this.
0 Kudos
1 Reply

180 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Jan 01 04:47:49 MST 2011
Sample code bundle for LPC11xx:

http://ics.nxp.com/support/documents/microcontrollers/?scope=LPC11C14&sort=date&locale=en,,Latn

includes examples for I2C master and I2C slave.

In slave mode:

LPC_I2C->ADR0 = MY_OWN_SLAVE_ADDRESS;

is used to determinate an address match (see UM10398 Chapter 11.7)
0 Kudos