1 Reply Latest reply on Nov 4, 2011 10:59 AM by pmad

    i2c read

    geethu.krishnan

      I am using the cy8c20546A as an i2c slave using the ezi2c module. When the master writes into the slave the ezi2c_anyactivity flag is getting set but the data is not available on the RAM buffer created. Why is this happening? Hoping for a reply at the earliest.

        • 1. Re: i2c read
          pmad

           Hello Gee,

             

           

             

          How many of data is the Master writing? If it is writing only one byte then please be informed that the first byte after slave address is always the sub address. If you are writing multiple bytes, then please provide the code snippet which you are using for your project.

             

           

             

          Best regards,

             

          Pushek