This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
请问可有哪个内核版本有支持spi的从模式?
很遗憾的告诉你,还没有支持从模式的内核,需要自己开发
简单的来说只要在驱动初始化的时候将master模式改为从模式,就可以工作,但是真正要完成传输,由于linux的框架中并不支持spi从模式,所以需要自己想办法实现同步机制和与应用层相关的交互.