I2C - bare metal example

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

I2C - bare metal example

1,450 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rc51 on Thu Jun 12 17:30:39 MST 2014
Hello and first of all please accept my apologies if this is not the place to post this question.

I am using the LPCXpresso 11U68 evaluation module and returning to f/w after multiple years off.  I've read the I2C section in the User Manual and gone through the example code.  However, what I really need is a step by step approach on configuring and coding the I2C so I can connect a sensor to the 11U68 board.  I prefer not to cut and paste but work through this.

Do you know of a resource/URL/App Note?  I can not find one.

Thank you.
Labels (1)
0 Kudos
1 Reply

991 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embd02161991 on Thu Jun 12 21:40:28 MST 2014
Hi,

Have you looked at the App note AN11249 ?

http://www.lpcware.com/content/nxpfile/an11249-rom-i2c-driver-usage-lpc11axx

The I2C example code here :

http://www.lpcware.com/content/nxpfile/sample-code-bundle-lpc11xx-peripherals-using-keils-mdk-arm

connects the I2C interface to a temperature sensor on board and communicates to it.

The following document also gives you some information on I2C :

http://www.nxp.com/documents/user_manual/UM10204.pdf


Thanks,

NXP Technical support

0 Kudos