2020-01-15, 10:48 AM
(2020-01-15, 06:33 AM)NickL123 Wrote: Hello everyone
I have just loaded the 2010-01-13 OpenPlotter-Moitessier-HAT-v2.0 prerelease and I am having problems with the SPI interface.
The hardware here is Moitessier Hat 1 attached to Rpi4 - 4Gb but I believe same problem exists on Rpi3.
When I turn on SPI the entire Rpi freezes and I am forced to reboot. Without SPI, obviously I get no AIS and GPS data from the hat but it looks like there is a conflict. Status green LED lights on the HAT are both off.
If I enable SPI directly by commenting out /boot/config.txt (dtparam=spi=on) , Raspberry Pi won't boot at all.
Any guidance on how to address this is appreciated.
Cheers
Nick
This happens when you install the driver having SPI off or you disable SPI after installing the driver. This is why we disable "install" button in moitessier hat app when SPI is off.
Uninstall the driver from moitessier hat app or typing:
Code:
sudo dpkg -r moitessier
reboot, enable SPI and install the driver again.
We should add this to docs and maybe add some check and warning to the app, thanks for reminder.