楼主你好!
飞思卡尔有三线模式,三线模式其实是双向模式
关于这个问题,我写过一篇**:https://bbs.21ic.com/icview-887772-1-1.html
但是你说剩下的引脚是否能够用为其他引脚,是可以的,你可以直接设置功能为其他功能,但是如果你使能了模式出错特性,那么就要注意下如下问题了:
Note
In bidirectional master mode, with the mode fault feature
enabled, both data pins MISO and MOSI can be occupied by
the SPI, though MOSI is normally used for transmissions in
bidirectional mode and MISO is not used by the SPI. If a mode
fault occurs, the SPI is automatically switched to slave mode. In
this case, MISO becomes occupied by the SPI and MOSI is not
used. Consider this scenario if the MISO pin is used for another
purpose.
|