cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

Mal
New Contributor II

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

Hi Malcolm,

Apologies for the delay in response.

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

Regards,

Mallika

Mallika

View solution in original post

0 Likes
4 Replies
MallikaK_22
Moderator
Moderator

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

 

Mallika
0 Likes
Mal
New Contributor II

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
New Contributor II

Is there any further feedback on this query?

Regards

Malcolm

0 Likes
MallikaK_22
Moderator
Moderator

Hi Malcolm,

Apologies for the delay in response.

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

Regards,

Mallika

Mallika

View solution in original post

0 Likes