Hi all, > the LPC2148 sample software library in the files section has an > example for I2C as well and it does not just toggle the port pins. > It is written for the ARM Real-View compiler but it should not be too > difficult to use the C-file and the H-file from the example. I'm working on the same issue right now, and I got as far as that: I can write one byte to the EEPROM an read it, except I do it consecutively. In debug mode it works though, so I guess, I got some timing problems. Does anybody have experiences with that? Do you mean the sample software provided by Philips? The apppication example is a bit tricky, because it deals with a temperature sensor with a strange protocol and the commands are determined in the handler it self. I found an application note for a LPC9XX and an I/O expander modul: http://www.semiconductors.philips.com/acrobat_download/applicationnotes/AN10155_1.pdf It's structured very clearly (application/driver) so I could change it for the LPC2XXX easily following the steps Mark described. Jan
Message
Re: I2C ?
2006-03-09 by cuemaker_e
Attachments
- No local attachments were found for this message.