Aalt, That was it. Now I get 0x28. I guess I spent too long (way too long) looking at the data sending process and not looking at making sure those bits were set correctly. Geez. Sutton --- In lpc2000@yahoogroups.com, "Aalt Lokhorst" <lokhorst@...> wrote: > > Hello Sutton, > > I see this line in your code > > I2C0CONCLR = 0x18; // clear STA and SI bits > > I am using the LPC2129 so probably it is different, but > are you sure you are clearing the STA bit? > I think the 0x18 is wrong and should be 0x28. > > > Success, > > -- > ============================== > Aalt Lokhorst > Schut Geometrische Meettechniek bv > Duinkerkenstraat 21 > 9723 BN Groningen > P.O. Box 5225 > 9700 GE Groningen > The Netherlands > Tel: +31-50-5877877 > Fax: +31-50-5877899 > E-mail: Lokhorst@... > ============================== >
Message
Re: I2C problem
2006-03-09 by Sutton Mehaffey
Attachments
- No local attachments were found for this message.