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数据流方向



我使用的是sdk6.0 , 最近在搞spi设备驱动,发现时钟和片选信号波形是正确的,但往设备写不进命令(数据)。后来硬件的跟我说,该设备接到am335x的spi的数据流方向与sdk内核spi主控制器里的是相反的(如默认d0 in,d1 out,硬件接线刚好相反)。。。。。请问我该在哪里改这个数据流方向呢?是在spi-omap2-mcspi.c里面改么?