i2c read

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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.

0 Likes
1 Reply
pushekm_21
Employee
Employee
10 likes received 5 likes given First like received

 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

0 Likes