Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

MSPM0G3507:如何设置SPI多片选引脚

Part Number: MSPM0G3507

设置SPI多个片选引脚除了config里面定义的其余引脚是否需要用GPIO虚拟,同时虚拟出来的引脚对传输速率是否有影响

  • Hello Jackson,

    可以使用GPIO模拟,在每次SPI发送之前,对SPI的片选信号也会进行控制,所以SPI的片选信号就是在每次需要发送到某个设备的时候,将CS片选端进行拉低/拉高控制。所以可以使用GPIO进行片选信号的模拟, 在你每次发送之前,去控制GPIO的输出进而控制片选。控制GPIO的速度很快,所以理论上应该对你的传输速率没有太大影响。

    Best Regards,

    Janz Bai