Problem reading I2C sensor

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Problem reading I2C sensor

Postby WiFive » Sat Jul 29, 2017 10:52 am

This register is used to configure the timeout for receiving a data bit in APB clock cycles
So you actually set the timeout to 12.5us

Aveave
Posts: 2
Joined: Thu Jul 27, 2017 4:27 pm

Re: Problem reading I2C sensor

Postby Aveave » Mon Jul 31, 2017 8:25 am

Hi markus,
Thank you for answering,
Yes i have a logic analyzer, here are the screenshots with the code i quoted in my last post:
Image

Image

Image

Thank you

Who is online

Users browsing this forum: alicia.huang, axellin, Baidu [Spider], Google [Bot] and 147 guests