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.

[参考译文] LAUNCHXL-CC26X2R1:使用 SysConfig 更改示例项目中的 SPI colock 环路和相位

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1491798/launchxl-cc26x2r1-use-sysconfig-to-change-the-spi-colock-ploarity-and-phase-in-example-project

器件型号:LAUNCHXL-CC26X2R1
主题中讨论的其他器件:SysConfig

工具与软件:

我将修改 SDK 中的 SPI 控制器示例以与我们项目中的 LCD 模块连接。 它对 SPI 信号使用不同的极性和相位。 我无法在 SysConfig GUI 中找到更改极性或时钟相位的位置。 为了进行这些更改、我应在项目中的何处进行?

谢谢

示例位置: \examples\rtos\CC26X2R1_LAUNCHXL\drivers\spiconcontroller\tirtos7

Code Composer 版本:12.6.0.00008

SDK 版本 simplelink_cc13xx_cc26xx_sdk_8_30_00_121

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

    您好!

    在传递到 SPI_OPEN()的 SPI_PARAMS 参数中、有一个用于 SPI 模式的字段。

    请参阅此处的"frameFormat": SPI_Params Struct 参考

    谢谢!
    Toby