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.

[参考译文] MSP430FR6989:如何在SPI中配置多个SS

Guru**** 2611705 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/664721/msp430fr6989-how-to-configure-more-than-one-ss-in-spi

部件号:MSP430FR6989

您好,

我注意到只能使用两个选项配置SPI模块:

3引脚模式(Miso,MOSI,CLK)

4引脚模式(Miso,MOSI,CLK,SS)

如果需要一个以上的“SS”怎么办?

是否可以简单地将GPIO用作SS?  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好,Mohamed,

    您回答正确。 处理从属选择/芯片选择线路时,通常最容易使用GPIO。 这允许您实现多个选择行,并允许您完全控制该行的行为。 在这种情况下,只需在3引脚模式下运行SPI模块,并根据需要控制软件中的选择行。

    此致,
    沃尔特