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.

[参考译文] EK-TM4C123GXL:用于 Energia 的 SPI 配置。

Guru**** 2382630 points
Other Parts Discussed in Thread: ENERGIA, TM4C123GH6PM
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1304147/ek-tm4c123gxl-spi-configuration-for-energia

器件型号:EK-TM4C123GXL
主题中讨论的其他器件:EnergiaTM4C123GH6PM

我将使用 Energia 试用 SPI 串行通信。 我想在 Launchpad 上使用 SPI (3)。

我正在查找的代码示例可能会向我指出正确的方向来配置 Energia 代码。 我在 Arduino Uno 上使用了 SPI、可以获得看起来不错的结果、但我无法在 Energia 中为 TM4C123GXL 编译相同的代码

我可以看到 TM4C123GH6PM 有4个 SPI 端口、因此我知道至少必须告诉 Energia 我正在使用哪个端口。

彼得_B