-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPI stopped working on Rpi B1 from 4.9.43+ onwards #161
Comments
File this in https://github.com/raspberrypi/linux/issues and I'll be happy to help. |
Giving the timing I think you have been negatively affected by this commit: raspberrypi/linux@3b1e49b Unfortunately the SPI subsystem doesn't allow a default value to be specified - the maximum is used instead - so increasing the maximum has also increased the default. Which SPI library are you using? Whichever it is, it is failing to choose a sensible bus speed. |
I followed the instructions here years ago |
Some application must be failing, otherwise you wouldn't know that SPI is broken. Which application is it? |
pip install spidev -U It is a simple python script reading from mcp3008 A/D chip
.... |
Add:
after |
That fixed it. Thank you! |
This issue has been resolved and the GitHug user account has been deleted, therefore it says @ghost. |
Hello,
SPI stopped working for me in the latest Raspbian stretch update. So I went back through the kernel versions here bisecting until I found the latest working version.
Latest working version for me is 4.9.41+, it does not work in 4.9.43+ anymore.
Is there a benign explanation? Did I miss a required configuration change?
Best regards,
Max
The text was updated successfully, but these errors were encountered: