Posts: 68
Threads: 11
Joined: Apr 2020
Reputation:
2
2020-08-22, 08:52 PM
I have Pi 4, Moitessier HAT with MCS. I've noticed that when I boot my OP from a cold start, I usually, and by usually I mean as often as I can remember, I have to reboot to get pitch, heel, compass, temp, and pressure data to show up in OpenCPN.
Any ideas why this happens? Is this common? Is there a setting that I can change besides 'Delay' in settings, which i currently have set to 3 seconds, remedy this?
Posts: 2,893
Threads: 59
Joined: Mar 2016
Reputation:
278
openplotter-i2c v2.1.2 should fix this, could you check your version please?
Posts: 5
Threads: 2
Joined: Jan 2017
Reputation:
0
I think that I am having a similar problem with the I2C disconnects. I have a BME280 and an MPU9150 on a board. The work fine and I am getting readings from them to begin with but they both disconnect after after a few minutes. When I look at the system log I get the following error hundreds of times.
Oct 28 12:34:57 Chillin openplotter-i2c-read[406]: BME280 reading failed: [Errno 121] Remote I/O error
If I try to reboot it will not connect and I get the following error in the system log.
Oct 28 12:45:25 Chillin kernel: [ 302.367432] i2c-bcm2835 fe804000.i2c: i2c transfer timed out.
It will not reconnect the two I2C's until I shutdown and physically remove the power cable. I am using version 2.1.2 of the I2C app. I also have a couple 1-Wire temp sensors on the board and they still work so I don't think that it is a problem with the board itself.