This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I2C problem

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

Parents
  • 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]

Reply
  • 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]

Children