EmbeddedRelated.com
Forums
Memfault Beyond the Launch

I2C sample code???

Started by Rick February 11, 2011
Does anyone have sample code for I2C that could be used on an LPC-17xx mcu? Or tell me where to find it.
Thanx
Rick

An Engineer's Guide to the LPC2100 Series

--- In l..., "Rick" wrote:
>
> Does anyone have sample code for I2C that could be used on an LPC-17xx mcu? Or tell me where to find it.
> Thanx
> Rick
>

For which compiler?
And for which development board?

Take a look at this:
http://ics.nxp.com/support/documents/microcontrollers/?type=software&scope=LPC17xx&search=CMSIS

It should work with Keil, IAR and GCC.
------------------
http://dimkoelectronics.wordpress.com

--- In l..., "Rick" wrote:
>
> Does anyone have sample code for I2C that could be used on an LPC-17xx mcu? Or tell me where to find it.
> Thanx
> Rick
>

For which compiler?
And for which development board?

Take a look at this:
http://ics.nxp.com/support/documents/microcontrollers/?type=software&scope=LPC17\
xx&search=CMSIS

and you'll find some examples inside of "Examples/I2C" subfolder

It should work with Keil, IAR and GCC.
------------------
http://dimkoelectronics.wordpress.com

Thankyou all for your help.  I've about got it working right.

--- On Fri, 2/11/11, mario_malenica wrote:

From: mario_malenica
Subject: [lpc2000] Re: I2C sample code???
To: l...
Date: Friday, February 11, 2011, 1:51 PM

 

--- In l..., "Rick" wrote:

>

> Does anyone have sample code for I2C that could be used on an LPC-17xx mcu? Or tell me where to find it.

> Thanx

> Rick

>

For which compiler?

And for which development board?

Take a look at this:

http://ics.nxp.com/support/documents/microcontrollers/?type=software&scope=LPC17xx&search=CMSIS

It should work with Keil, IAR and GCC.

------------------

http://dimkoelectronics.wordpress.com

Memfault Beyond the Launch