CY7C65215A i2c Master Mode NACK Behaviour

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

cross mob
Mal
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

Hi

We have been performing some tests under Linux with the CY7C65215A running in i2c master mode.

When no receiver is present with the transmitted address or the receiving device is busy and unable to respond so a NACK occurs that the CY7C65215A appears to be holding the SCL line low until a USB timeout occurs.

 

Would you please advise how to overcome this issue?  We are running under Linux.

 

Thanks

 

Malcolm

0 Likes
1 Solution
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi Malcolm,

Apologies for the delay in response.

Can you please probe both the SDA and SCL lines and share the traces?

Regards,

Mallika

View solution in original post

0 Likes
4 Replies
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hello,

The issue usually occurs when the slave and master are out of sync. 

 The solution is to temporarily set the IOs back to GPIO, then manually clock SDA until it is released.

Regards,

Mallika

 

0 Likes

Hi Mallika

Why would the master go out of sync when a NACK occurs?  This is a standard i2c event... I'd have expected the master to release its SCL not hold it low.

How can the i2c master IO be changed to GPIO? I thought the function of the i2c master on the CY7C65215A was fixed?

Regards 

Malcolm 

0 Likes
Mal
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

Is there any further feedback on this query?

Regards

Malcolm

0 Likes
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi Malcolm,

Apologies for the delay in response.

Can you please probe both the SDA and SCL lines and share the traces?

Regards,

Mallika

0 Likes