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.

关于am335x 的spi问题



问题描述如下:

现需要在linux中实现am335x的一主一从的模式和stm32进行spi通信,譬如spi0作为主用来发,spi1作为从用来收,这样可以实现完全的通信,有类似的参考吗?

这种实现在linux驱动中实现好,还是在linux应用中实现好,我了解到的是对应的spi驱动只有master模式,对应驱动是mcspi,应该怎么设置slave模式?
如果是在应用中实现的话,又该如何设置slave模式 ?使用应用的话是不是要在提供spidev应用驱动的基础上进行操作?
谢谢!