i2c read Error getting data: Connection timed out

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i2c read Error getting data: Connection timed out

1,233 Views
ShrithiR
Contributor I

Hii team,

We are using an i.MX8QM processor. We are using an i2C slave and reading some values using it. Sometimes we will encounter an issue like 'Error receiving data: connection timed out'.

After capturing the i2c read with the Logic analyzer, we understood that the master was sending 0 bit for reading. So we are experiencing a timeout issue.

Working condition LA capture:

ShrithiR_0-1726469948884.png


Non Working condition LA capture:

ShrithiR_1-1726470003945.png


Do you have any understanding of this? I would appreciate it if you could suggest a solution for this.

Thanks,
Shrithi

0 Kudos
Reply
2 Replies

1,203 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @ShrithiR 

 

Which i2c are you using? Can you capture signals as close to the soc as possible?

Best Regards
Zhiming

0 Kudos
Reply

1,197 Views
ShrithiR
Contributor I

Hii,

Thank you for the reply.

This issue got solved. Some timing synchronization issue was there in i2c slave.

Tags (1)
0 Kudos
Reply