EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

I2C slave routines

Started by zvonkobharije March 5, 2005

hello

does anyone know if there are some examples for I2C slave
reciever/transmitter mode for LPC2138 (or any other LPC), preferrable
in C?
I've searched the net a lot, however I didn't find a thing.

if anyone has an example (or at least something that resembles it), i
would really appreciate it.

thx
Zvonko



An Engineer's Guide to the LPC2100 Series

I don't have the link with me now, but I found some Philips sample code
for an I2C controller in one of the 8051 parts - the I2C controller was
the same so the code ported over simply (was using a LPC2106).

Shannon

On Mar 5, 2005, at 12:18 PM, zvonkobharije wrote:

>
>
> hello
>
> does anyone know if there are some examples for I2C slave
> reciever/transmitter mode for LPC2138 (or any other LPC), preferrable
> in C?
> I've searched the net a lot, however I didn't find a thing.
>
> if anyone has an example (or at least something that resembles it), i
> would really appreciate it.
>
> thx
> Zvonko >
> Yahoo! Groups Links >
>





do you maybe still remember where you got it?
i found these:
http://www.semiconductors.philips.com/acrobat/applicationnotes/AN433.pdf
http://www.semiconductors.philips.com/acrobat/applicationnotes/AN463_2.pdf

are those I found the ones you had?
however, these are all in assembler - and I'm no good at it...

thx
Zvonko
--- In , Shannon Holland <holland@l...> wrote:
> I don't have the link with me now, but I found some Philips sample code
> for an I2C controller in one of the 8051 parts - the I2C controller was
> the same so the code ported over simply (was using a LPC2106).
>
> Shannon
>
> On Mar 5, 2005, at 12:18 PM, zvonkobharije wrote:
>
> >
> >
> > hello
> >
> > does anyone know if there are some examples for I2C slave
> > reciever/transmitter mode for LPC2138 (or any other LPC), preferrable
> > in C?
> > I've searched the net a lot, however I didn't find a thing.
> >
> > if anyone has an example (or at least something that resembles it), i
> > would really appreciate it.
> >
> > thx
> > Zvonko
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >




The 2024 Embedded Online Conference