This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I2C problems
#1
Hello,

I try to connect some I2C sensors. Yesterday the MPU 9250 works for some hours, but now I can not get it working. The I2C app say "I2C enabled stoped":

[Image: xLByXF5.png]

When I disable the I2C interface in the Raspberry Pi setting, I get this in dmesg:

PHP Code:
 534.089750OFoverlayWARNINGmemory leak will occur if overlay removedproperty: /soc/i2c@7e804000/status
 535.125902i2c-bcm2835 3f804000.i2ci2c transfer timed out
 536.166039i2c-bcm2835 3f804000.i2ci2c transfer timed out
 537.206176i2c-bcm2835 3f804000.i2ci2c transfer timed out 

And this when I enable it again:

PHP Code:
 538.246301i2c-bcm2835 3f804000.i2ci2c transfer timed out
 539.286449i2c-bcm2835 3f804000.i2ci2c transfer timed out
 540.326551i2c-bcm2835 3f804000.i2ci2c transfer timed out
 541.366758i2c-bcm2835 3f804000.i2ci2c transfer timed out
 542.406899i2c-bcm2835 3f804000.i2ci2c transfer timed out
 543.447044i2c-bcm2835 3f804000.i2ci2c transfer timed out
 544.487173i2c-bcm2835 3f804000.i2ci2c transfer timed out
 545.527299i2c-bcm2835 3f804000.i2ci2c transfer timed out
 546.567443i2c-bcm2835 3f804000.i2ci2c transfer timed out
 547.607581i2c-bcm2835 3f804000.i2ci2c transfer timed out
 548.647734i2c-bcm2835 3f804000.i2ci2c transfer timed out
 549.687875i2c-bcm2835 3f804000.i2ci2c transfer timed out
 550.728018i2c-bcm2835 3f804000.i2ci2c transfer timed out
 601.515824OFoverlayWARNINGmemory leak will occur if overlay removedproperty: /soc/i2c@7e804000/status 

Is something wrong with my Raspberry Pi 3B device? How could I start the I2C module?

Kind regards.
Reply
#2
Hello,

I burn the OpenPlotter image in a new SD and try to configure the I2C sensor, same result:

[Image: i2c.png]

Is my Raspberry Pi broken?

Could I debug it deeper?

I will appreciate your help.

Regards.
Reply
#3
Hello,

I still have the I2C not running message, but I fixed the MPU sensor detection with this commands:

PHP Code:
sudo systemctl enable openplotter-i2c-read.service
sudo systemctl restart openplotter
-i2c-read.service 

Hope this will help to someone else.

Regards.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)