Frequent but irregular thread crashing in readADCraw
2532 Views - Created 12/05/2016
There may be a bug with the py-spidev module that is causing your problem. It appears that the Gadgetoid branch of py-spidev that we used in our SPI tutorial has not been updated for quite some time and has compatibility issues with the latest Linux kernel. There is another branch of the module that you could try installing and see if that solves the problem.
You can download and install the new version using:
git clone https://github.com/doceme/py-spidev.git
sudo python setup.py install
sudo python3 setup.py install
Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view, download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.