OpenMarine
MacArthur HAT missing data after restart - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4)
+--- Thread: MacArthur HAT missing data after restart (/showthread.php?tid=4760)



MacArthur HAT missing data after restart - TVR - 2023-07-13

I have a MacArthur HAT with the following connections:
  • ICM20948 IMU attached directly to the GPIO I2C pins
  • BMP280 temperature/pressure sensor attached to the MacArthur IMU I2C pins
  • DS18B20 temperature sensor attached to MacArthur 1-wire connector.

If I shut down the Pi using the MacArthur power switch, it takes around 90s to shut down. When I restart, SignalK doesn't receive any data from the I2C or 1-wire temperature sensors, although it still receives the IMU data correctly.

I've tried using the "reconnect" button in the OpenPlotter I2C app, but this doesn't help. Instead I have to delete and re-add the temperature sensors to get things working.

It's not 100% reproducible, but it's definitely happened a few times now. Is there any further debugging I can do?