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
I2C code for LPC2148
Started by ●March 6, 2006
Reply by ●March 6, 20062006-03-06
> 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
Reply by ●March 6, 20062006-03-06
--- In lpc2000@lpc2..., "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.
Reply by ●March 8, 20062006-03-08
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
Reply by ●March 8, 20062006-03-08