EmbeddedRelated.com
Forums

LPC210x I2C Examples?

Started by Johan Forrer April 21, 2004
Hi All,

Since Philips is strong in I2C, does anyone know
whether there are some I2C example code for the
LPC210x, like that published in the 8XC552 data
sheets?

I'd like to experiment with the LPC210x I2C interface
and wonder whether anyone has experience with the
LPC210x I2C or know of a working example that I can
try out.

Thanks much.

Johan, KC7WW



An Engineer's Guide to the LPC2100 Series

Hi,

I have included 2 examples that use I2C chips… also interrupts, UART0.

Enjoy,

m.

 

From: Johan Forrer [mailto:j...@yahoo.com]
Sent: Wednesday, April 21, 2004 4:23 PM
To: l...@yahoogroups.com
Subject: [lpc2000] LPC210x I2C Examples?

 

Hi All,

Since Philips is strong in I2C, does anyone know
whether there are some I2C example code for the
LPC210x, like that published in the 8XC552 data
sheets?

I'd like to experiment with the LPC210x I2C interface
and wonder whether anyone has experience with the
LPC210x I2C or know of a working example that I can
try out.

Thanks much.

Johan, KC7WW



Attachment (not stored)
LPC2106__Examples.zip
Type: application/octet-stream


Hi Milos, where are they?
thanks
-Lee

--- In , "Milos Prokic" <mproki@m...> wrote:
> Hi,
>
> I have included 2 examples that use I2C chips. also interrupts,
UART0.
>
> Enjoy,
>
> m. >
> _____
>
> From: Johan Forrer [mailto:jbforrer@y...]
> Sent: Wednesday, April 21, 2004 4:23 PM
> To:
> Subject: [lpc2000] LPC210x I2C Examples? >
> Hi All,
>
> Since Philips is strong in I2C, does anyone know
> whether there are some I2C example code for the
> LPC210x, like that published in the 8XC552 data
> sheets?
>
> I'd like to experiment with the LPC210x I2C interface
> and wonder whether anyone has experience with the
> LPC210x I2C or know of a working example that I can
> try out.
>
> Thanks much.
>
> Johan, KC7WW >
>
> _____
>
> > Terms of Service.




Message
Hi Group,
 
FYI, the examples Milos Prokic posted seem to be taken from an Ashling LPC2000 software release. Note:
 
1. These examples are meant to run on our EVBA7 board.
2. The I2C interfacing is "quick&dirty" and not recommended for production code.
3. The group have produced much better "production" I2C  examples which are available in the files section.
 

Hugh @ http://www.ashling.com/support/lpc2000/

-----Original Message-----
From: Milos Prokic [mailto:m...@macs.ece.mcgill.ca]
Sent: 21 April 2004 21:32
To: l...@yahoogroups.com
Subject: RE: [lpc2000] LPC210x I2C Examples?

Hi,

I have included 2 examples that use I2C chips… also interrupts, UART0.

Enjoy,

m.

 

From: Johan Forrer [mailto:j...@yahoo.com]
Sent: Wednesday, April 21, 2004 4:23 PM
To: l...@yahoogroups.com
Subject: [lpc2000] LPC210x I2C Examples?

 

Hi All,

Since Philips is strong in I2C, does anyone know
whether there are some I2C example code for the
LPC210x, like that published in the 8XC552 data
sheets?

I'd like to experiment with the LPC210x I2C interface
and wonder whether anyone has experience with the
LPC210x I2C or know of a working example that I can
try out.

Thanks much.

Johan, KC7WW





Message

Hi Hugh,

The examples are taken from the Ashling software release indeed. They are quick, dirty and buggy in the case of the code for the full that is “ready” for flash (interrupt). I remember trying it several months ago when I got my hands on a couple of those boards and it didn’t work…

As for being “production” code… well I don’t think I need to comment on that.. But I think the person that asked for the sample code had no clue how to use I2C hence I figured these dirty examples are a good starting point for him. (the examples were posted after someone else requested them explicitly). Sending my full blown I2C and SPI handler will be an overkill, don’t you think? When I started messing around with I2C that example was my starting point too.

Your comment that it was made for the Ashling EVB7 is legit, but it also doesn’t make too much of a difference except that one must have a 14 MHz oscillator attached if they want to try the UART part of the example without modifying anything. Am I missing something?

All the best,

m.

 

 

 

 

From: Hugh O'Keeffe [mailto:h...@ashling.com]
Sent: Thursday, April 22, 2004 2:45 AM
To: l...@yahoogroups.com
Subject: RE: [lpc2000] LPC210x I2C Examples?

 

Hi Group,

 

FYI, the examples Milos Prokic posted seem to be taken from an Ashling LPC2000 software release. Note:

 

1. These examples are meant to run on our EVBA7 board.

2. The I2C interfacing is "quick&dirty" and not recommended for production code.

3. The group have produced much better "production" I2C  examples which are available in the files section.

 

 

Hugh @ http://www.ashling.com/support/lpc2000/

-----Original Message-----
From: Milos Prokic [mailto:m...@macs.ece.mcgill.ca]
Sent: 21 April 2004 21:32
To: l...@yahoogroups.com
Subject: RE: [lpc2000] LPC210x I2C Examples?

Hi,

I have included 2 examples that use I2C chips… also interrupts, UART0.

Enjoy,

m.

 

From: Johan Forrer [mailto:j...@yahoo.com]
Sent: Wednesday, April 21, 2004 4:23 PM
To: l...@yahoogroups.com
Subject: [lpc2000] LPC210x I2C Examples?

 

Hi All,

Since Philips is strong in I2C, does anyone know
whether there are some I2C example code for the
LPC210x, like that published in the 8XC552 data
sheets?

I'd like to experiment with the LPC210x I2C interface
and wonder whether anyone has experience with the
LPC210x I2C or know of a working example that I can
try out.

Thanks much.

Johan, KC7WW

 

 




Message
Hi Milos,
 
Ashling customers should download the latest software (v113) from our support site. This includes updated versions of all our examples that fix problems in the initial release (with the FULL example etc.).  Contact me directly if you need further clarification/assistance
 
-----Original Message-----
From: Milos Prokic [mailto:m...@macs.ece.mcgill.ca]
Sent: 22 April 2004 13:23
To: l...@yahoogroups.com
Subject: RE: [lpc2000] LPC210x I2C Examples?

Hi Hugh,

The examples are taken from the Ashling software release indeed. They are quick, dirty and buggy in the case of the code for the full that is “ready” for flash (interrupt). I remember trying it several months ago when I got my hands on a couple of those boards and it didn’t work…

As for being “production” code… well I don’t think I need to comment on that.. But I think the person that asked for the sample code had no clue how to use I2C hence I figured these dirty examples are a good starting point for him. (the examples were posted after someone else requested them explicitly). Sending my full blown I2C and SPI handler will be an overkill, don’t you think? When I started messing around with I2C that example was my starting point too.

Your comment that it was made for the Ashling EVB7 is legit, but it also doesn’t make too much of a difference except that one must have a 14 MHz oscillator attached if they want to try the UART part of the example without modifying anything. Am I missing something?

All the best,

m.

 

 

 

 

From: Hugh O'Keeffe [mailto:h...@ashling.com]
Sent: Thursday, April 22, 2004 2:45 AM
To: l...@yahoogroups.com
Subject: RE: [lpc2000] LPC210x I2C Examples?

 

Hi Group,

 

FYI, the examples Milos Prokic posted seem to be taken from an Ashling LPC2000 software release. Note:

 

1. These examples are meant to run on our EVBA7 board.

2. The I2C interfacing is "quick&dirty" and not recommended for production code.

3. The group have produced much better "production" I2C  examples which are available in the files section.

 

 

Hugh @ http://www.ashling.com/support/lpc2000/

-----Original Message-----
From: Milos Prokic [mailto:m...@macs.ece.mcgill.ca]
Sent: 21 April 2004 21:32
To: l...@yahoogroups.com
Subject: RE: [lpc2000] LPC210x I2C Examples?

Hi,

I have included 2 examples that use I2C chips… also interrupts, UART0.

Enjoy,

m.

 

From: Johan Forrer [mailto:j...@yahoo.com]
Sent: Wednesday, April 21, 2004 4:23 PM
To: l...@yahoogroups.com
Subject: [lpc2000] LPC210x I2C Examples?

 

Hi All,

Since Philips is strong in I2C, does anyone know
whether there are some I2C example code for the
LPC210x, like that published in the 8XC552 data
sheets?

I'd like to experiment with the LPC210x I2C interface
and wonder whether anyone has experience with the
LPC210x I2C or know of a working example that I can
try out.

Thanks much.

Johan, KC7WW