Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

I2C code for LPC2148

I2C code for LPC2148

2006-03-06 by Sutton Mehaffey

I am trying to use a RAMTRON Serial Memory chip using I2C.  I have
grounded the Address lines for a 000 address as well as the WP (write
protect line).  Does someone have a small I2C sample code showing how
to manipulate the SDA and SCL lines properly and feed the data?  Does
the I2C code have to use an interrupt?  If no, is it preferable?  Just
looking for options and a few hints as I experiment with I2C for the
first time.  Thanks.

Sutton

RE: [lpc2000] I2C code for LPC2148

2006-03-06 by Bruce Paterson

> I am trying to use a RAMTRON Serial Memory chip using I2C.  I 
> have grounded the Address lines for a 000 address as well as 
> the WP (write protect line).  Does someone have a small I2C 
> sample code showing how to manipulate the SDA and SCL lines 
> properly and feed the data?  Does the I2C code have to use an 
> interrupt?  If no, is it preferable?  Just looking for 
> options and a few hints as I experiment with I2C for the 
> first time.  Thanks.

From memory the Ramtron's are identical communications to s serial
Eeprom (just faster). I have used the I2C on an 8051 to talk to a
Ramtron and it's pretty standard stuff. You might be able to find
something already around on the web.

Cheers,
Bruce

Re: I2C code for LPC2148

2006-03-07 by philips_apps

--- In lpc2000@yahoogroups.com, "Sutton Mehaffey" <sutton@...> wrote:
>
> I am trying to use a RAMTRON Serial Memory chip using I2C.  I have
> grounded the Address lines for a 000 address as well as the WP (write
> protect line).  Does someone have a small I2C sample code showing how
> to manipulate the SDA and SCL lines properly and feed the data?  Does
> the I2C code have to use an interrupt?  If no, is it preferable?  
Just
> looking for options and a few hints as I experiment with I2C for the
> first time.  Thanks.
> 
> Sutton
>

Sutton,
    There are many examples in the "Files" area, check the one 
uploaded by Philips Apps.

Re: I2C code for LPC2148

2006-03-08 by ashishbhopale1

hi bruce,

   there is a document from philips for a 8051 microcontroller which 
explains all about the interface philips provides for its I2C 
controller.u can refer to it as i have done my work refering to the 
same document.search for the document 8XC552_562OVERVIEW_2.it has all 
the info .
 >>ashish

Re: [lpc2000] Re: I2C code for LPC2148

2006-03-08 by Sushil Rana

Dear All,

I am starting with ARM , please guide me what to do in the begining, i am
having experience in microcontrollers 8 and 16 bits.

waiting for urs response

Regards

Sushil


[Non-text portions of this message have been removed]

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.