Hello, Andre, can you give links to this I2C monitor device? I wish I had such a monitor months ago when having problems with I2C transmission! Peter Barry, I use I2C monitor device to display every thing on the bus It is ready sitting on my bench if you like I can check it for you to see what is happening on the bus let me know if you are interested. Scope is a good tool but not for I2C Andre -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Barry Gershenfeld Sent: Friday, April 08, 2005 1:47 PM To: Microcontroller discussion list - Public. Subject: Re: [PIC] HELP WITH PIC I2C >I am a new member in piclist and i have a problem.i want to send some >data (one simple word or numbers) from my master pic 16F876 >to another slave pic 16F876 using I2C protocol .I have written some code in >assembly but it does not working right.I managed to transfer the >address byte, i get the first ack,then i see the right data on the >oscilloscope ,but i get a nack instead of ack and my next data don't go on. >any help would be accebtable with regard >ps:if you want to send you my code just tell me.i use mplab ide and assembly. I'm having a surprisingly hard time verifying this from the literature I have here, but I believe that when reading from a slave, it is the master that generates the ack bit. It tells the slave when the it has read the last byte. So (if I'm right) make sure you have the master generating this bit. Also make sure your code doesn't check for something it isn't supposed to check for, else it would get stuck. Barry -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist