 | Discussion Forum |  |
|
|
I2C problemNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Shanid Paul Posted 20-Aug-2007 13:03 GMT Toolset ARM |  I2C problem Shanid Paul hi all, I have some starting problem for the I2C coding in LPC2103,Could ay body help me with this.I need to configure the I2C in master mode. I have configured the P0.2 & P0.3 for I2c and i have understood the sequence for the Tx & Rx.my problem is regarding the data Rx&TX.Initially if i want to send data to the (eg:)EEPROM ,Where do i put the data(which register??) and same case while reading also ,Where do i get the data which is send by the EEPROM. It may be unwise question,But i am not able to move ahead by reading the data sheet. Could any body help me for the communication data Tx&RX.It will be help ful for me if you can give link for the app-note and ex-code regarding this Thanks, Paul | | Read-Only Author Per Westermark Posted 20-Aug-2007 13:33 GMT Toolset ARM |  RE: I2C problem Per Westermark I haven't checked specifically for the LPC2103, but for most chips, NXP has a zip file containing a lot of example code for all devices. Have you visited the product page and looked for the available info? | | Read-Only Author Shanid Paul Posted 21-Aug-2007 12:01 GMT Toolset ARM |  RE: I2C problem Shanid Paul hello, Thanks i have checked it ,Except the register reading and writing it is not specifying any thing more, i mean nothing about program flow | | Read-Only Author Andy Neil Posted 21-Aug-2007 15:57 GMT Toolset ARM |  RE: i am not able to move ahead by reading the data sheet Andy Neil I don't know if it's also true of their ARM parts, but NXP tend to have both a Data Sheet and a User Manual for their '51 derivatives - and you need to read both of them... Are there really no application notes, and no examples?! | | Read-Only Author S Paul Posted 23-Aug-2007 09:59 GMT Toolset ARM |  RE: i am not able to move ahead by reading the data sheet S Paul Neil , I had gone through the websites again ,I found my answer ,in the user mannual they specified the details of the I2C communication . Now i started writing the code . I was following same way of finding the Deails, which i did for ADSP and Micochip Ic's . thanks alot for the help ,
Thanks, Paul
PS: If any body wanted to get the Appnote and Examples for LPC2103 -Find the link below (NXP site) http://www.nxp.com/#/pip/cb=type=product,path=50809/45993/45994,final=LPC2101_02_03_1]|pip=[pip=LPC2101_02_03_1][0]
| | Read-Only Author Andy Neil Posted 23-Aug-2007 10:11 GMT Toolset ARM |  LPC2101/2/3 - Easier Link for the Product Info Page (PIP) Andy Neil Well, NXP have really messed-up their website to give stupid URLs like that! However, if you click http://www.nxp.com/pip/LPC2101_02_03_1.html you will still end up in the same place! :-) | | Read-Only Author Per Westermark Posted 26-Aug-2007 14:21 GMT Toolset ARM |  RE: LPC2101/2/3 - Easier Link for the Product Info Page (PIP) Per Westermark NXP likes to place watered down summary information in their data sheets, and call the real document User Manual. It is quite nonintuitive, with a data sheet that often doesn't even mention the power consumption of a chip... | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|