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

Help needed for LPC915 operating as Slave on I2C...

Former Member
Former Member

Hello,

I know this might not be the best place to ask, but we are kind of desperate !

I have a system with a LPC2148 ARM7 and a LPC915 (operating as a I2C slave to the '2148) and I need to get the LPC915 to work... I have other devices on my I2C bus, and the 2148 talks ok with them. The problem is to make the I2C slave code work on the LPC915 (I'm currently (trying to) using the skeleton from esacademy.

So anyone have some working examples (or willing to do some contract work ?)

PS: Sorry if this is "mis-placed" on the forum....

Regards,
Carsten

Parents Reply Children
  • download the datasheet for the Philips P89C668, except for oscillator setup the IIC is identical to the LPC (and the SILabs derivatives - NOT the deviates) and explained in excruciating detail. I would have spent much more time on LPC IIC had I not been aware of this.

    Erik

  • Former Member
    0 Former Member in reply to erik malund

    Perfect !
    I read thru the I2C section on the '668 device which helped me a great deal understanding the I2C controller (which is described in much more detail in the '668 manual)

    I can now both read and write data using the LPC2148 as a master, and the LPC915 as a slave (running 350 KHz on the SCL line).

    Regards and thanks,
    Carsten