Does rppal support non-blocking SPI?
imrank03 opened this issue · 2 comments
imrank03 commented
Hi, Does SPI support non-blocking mode, if supported how to do it?
golemparts commented
Hi @imrank03. SPI doesn't support non-blocking mode at this time, because it's limited by the features provided by the underlying linux driver.
If non-blocking/async SPI is a requirement for your project, you could theoretically use the current synchronous implementation, run an instance of Spi
on a separate thread, and communicate with it through channels to buffer writes, reads and transfers.
imrank03 commented
Hello @golemparts, thanks for the clarification.