Closed KevinBaileyCrum closed 3 years ago
The fact that it locks in a buggy state and reports only zeros until the next reboot points to a likely issue with SPI driver rather than the adxl reader code. Can you retry with a fresh install of latest Raspbian?
turns out our cabling was too long and we lost the spi register
when running
sudo adxl345spi
command occasionally I run into issues whereby all my values are 0.example :
sometimes this happens halfway through the command. For example when running
sudo adxl345spi -f 3200
typically once im in an ALL ZEROES phase the only way to get out of this is to reboot the pi.
any ideas as to why? Suggestions? It is very hard for me to determine exactly when/why/what behavior causes these errors. Trying to keep finding a repeatable occurrence but cannot.