Open gleich opened 2 years ago
Comment out the following, the pin is probably locked out by the spi driver:
// cs.export().expect("cs export");
// while !cs.is_exported() {}
// cs.set_direction(Direction::Out).expect("CS Direction");
// cs.set_value(1).expect("CS Value set to 1");
@gleich Which kernel are you using? I noticed some issues when use the 6.x kernel.
Idkw, but in the previous ones I don't have this issue.
Running on a fresh install of raspberry pi OS, with only SPI, I2C, and SSH being abled I am getting the following panic when I try running the example code:
The only device is the phat that I have sitting on top of the pi. Is there any reason that this might not be working?