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.

AM3352 SPI片选问题

Other Parts Discussed in Thread: AM3352

AM3352 SPI0总线支持2个CS片选,我们在SPI0上接3个外设,第三个外设使用GPIO作为片选信号。通过修改mcspi驱动代码让第三个外设使用channel0的硬件资源,当收发数据时,控制GPIO片选使能并且禁止CS0的SPIEN。但是仍然无法访问第三个外设!

请问是不是SPI控制器存在限制,当SPIEN均不使能时,SPI控制器不会收发数据?我在芯片手册中看到如下一句话:

In both master and slave modes, McSPI drives the data lines at the time of SPIEN is asserted.

是否证实我上面的猜测?如果是,那是不是我这种使用GPIO扩展片选的硬件方案是不可行的?

求助大神解答,万分感谢!