You might receive NACK sometimes, what you could do is make your algorithm try again. Have you checked the Philips Document "80C51 Family Derivatives - 8XC552/562 overview"??? (page 23) It shows all the posible Status Codes you can get.. it's the guide while making your algorithm. Regards, Gonzalo --- In lpc2000@yahoogroups.com, "skijag2" <skijag2@y...> wrote: > Using the Philips LPC 2129, I set-up an I2C slave mode to talk to a > master device. The microcontroller, recieves and sends data > correctly most of the time, but about 1/100 times, when the MC > recieves: > > [SLA][W] it sends a NACK (no acknowledge) back to the master instead > of an ACK. In the software a NACK is never sent, so it is unclear > why the hardware occasionally sends back a NACK. > > Has anyone else seen this behavior? Could it be an errata with the > Microcontroller? I'm not sure what I can do to debug this? Any > suggestions?
Message
Re: I2C Nack
2004-09-14 by givc@yahoo.com
Attachments
- No local attachments were found for this message.