6 Replies Latest reply on Jun 9, 2016 9:55 AM by rigac_1490111

    I2C Interrupt



      I am in the process of developing communication between a Master device and a Slave device. In my Slave device code, I started off with having the I2C in the main() (polling). After several communication tests, I found that this is not desirable for my project. I then researched on I2C interrupt driven. The code I have attached is currently I2C interrupt driven but may not be implemented correctly. I have found results where my devices "hang" and don't respond to a command. I want to make sure that the slave receives the entire message from the Master, executes the command, and can safely receive the next command. Any help is appreciated. 


      Thank you,