SPI not working after upgrade to ubuntu 18.04 with patched kernel from ppa

tdudz
tdudz New Member Posts: 8

Previously, I had ubuntu 16.04 with a patched 4.4 kernel and my code ran fine on the UP board, data being sent over SPI worked well.

I now upgraded to 18.04 and installed the patched kernel from the ppa and enabled spidev2.1 as a kernel boot param. I'm able to see /dev/spidev2.0 and /dev/spidev2.1, but when i run my code to communicate over SPI, i dont get any data back at all even though it succeeds in opening SPI.

What is the correct way to use SPI now? Did something change that I missed?

Comments

This discussion has been closed.
Privacy Policy