Hi Rick, at time of occurrence of an I2C-Interrupt, the I2STAT should have a value mentioned here: http://www.semiconductors.philips.com/acrobat_download/various/8XC552_562OVERVIEW_2.pdf (start at page 23). If not: no idea, sorry. You say, your value varies. Do you use a debugger? Perhaps you got a timing problem, see [lpc2000] What is th different between working in real time and real time debug? I got such a problem too, and I think Marco too. Jan ________________________________ Von: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com] Im Auftrag von mithilesh naik Gesendet: Donnerstag, 16. März 2006 15:39 An: lpc2000@yahoogroups.com Betreff: Re: AW: [lpc2000] I2C interface. Hi Jan, as per ur suggestion i did monitored the content of I2STAT.sometimes it gives nack in response to SLA+R/W or sometimes i do get ack.on getting ack when i x'mit position address the I2STAT simply returns any random value which is not being mentioned anywhere in data sheets.i hope Jan u would give me a solution for this. Thank you. Jan Hansen <j.hansen@...> wrote: Hi Rick, so what do you get then? if the slave responds at all, one on them you will get; ack and nack only describe the state of SDA and SCL. try to catch the I2STAT register when interrupt service routine is called. Jan ________________________________ Von: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com] Im Auftrag von rick_frenz Gesendet: Mittwoch, 15. März 2006 05:52 An: lpc2000@yahoogroups.com Betreff: [lpc2000] I2C interface. Hi!I am interfacing EEPROM with LPC2138 through I2C engine.I do egt acknowledgement for slave address but when I do send address and data it simply doen't give me ack or nack.Can anyone help me out with this. Thank you. SPONSORED LINKS Microcontrollers <http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ> Microprocessor <http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA> Intel microprocessors <http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw> Pic microcontrollers <http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw> ________________________________ YAHOO! GROUPS LINKS * Visit your group "lpc2000 <http://groups.yahoo.com/group/lpc2000> " on the web. * To unsubscribe from this group, send an email to: lpc2000-unsubscribe@yahoogroups.com <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . ________________________________ SPONSORED LINKS Microcontrollers Microprocessor Intel microprocessors Pic microcontrollers --------------------------------- YAHOO! GROUPS LINKS Visit your group "lpc2000" on the web. To unsubscribe from this group, send an email to: lpc2000-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- --------------------------------- Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. [Non-text portions of this message have been removed] SPONSORED LINKS Microcontrollers <http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=mfaAujKZXA2Z_vxre9sGnQ> Microprocessor <http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=9jjd2D3GOLIESVQssLmLsA> Intel microprocessors <http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=OMnZuqMZX95mgutt4B-tDw> Pic microcontrollers <http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s=95&.sig=Malspbd0T4Rq3M4Q0nHrfw> ________________________________ YAHOO! GROUPS LINKS * Visit your group "lpc2000 <http://groups.yahoo.com/group/lpc2000> " on the web. * To unsubscribe from this group, send an email to: lpc2000-unsubscribe@yahoogroups.com <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . ________________________________
Message
AW: AW: [lpc2000] I2C interface.
2006-03-16 by Jan Hansen
Attachments
- No local attachments were found for this message.