Closed
Description
embedded-sdmmc-rs/src/sdcard/mod.rs
Lines 61 to 67 in 710bd34
If you take a CS pin directly, you have to use SpiBus, not SpiDevice.
Using SpiDevice with a dummy CS pin breaks bus sharing. (the bus looks "free" to the mutex between transactions, so it might grant the mutex to some other driver, which will break because this lib still has the CS pin asserted)
embedded-hal docs explicitly say not to do this https://docs.rs/embedded-hal/latest/embedded_hal/spi/index.html#for-driver-authors
Metadata
Metadata
Assignees
Labels
No labels