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.

[参考译文] TM4C1294NCPDT:TM4C1294NCPDT 上的 SSI0时钟

Guru**** 2472980 points
Other Parts Discussed in Thread: TM4C1294NCPDT

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/680214/tm4c1294ncpdt-ssi0-clock-on-tm4c1294ncpdt

器件型号:TM4C1294NCPDT

您好!

我正在处理 Tiva C 微控制器器器件型号 TM4C1294NCPDT、我正在使用 Tivaware 外设驱动程序库。

在配置 SSI0模块时、我使用了以下 API

SSIConfigSetExpClk (uint32_t ui32 Base、uint32_t ui32SSIClk、uint32_t ui32 Protocol、uint32_t ui32Mode、uint32_t ui32位速率、 uint32_t ui32DataWidth)

我对参数 比特率感到困惑、该比特率将以什么单位表示、即 Hz 或 KHz 或任何其他单位。

我对此感到困惑、请一些人纠正我原始的疑问。

谢谢、此致、

Janardan M  

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

    Janardan、您好!

    比特率的 SSIConfigSetExpClk 参数以 Hz 为单位。 例如、如果您需要4MHz SPI 时钟、则应将其馈入4000000。 需要1MHz? 然后使用1000000。 等等

    如果您对 SSI 有进一步的疑问、您可能需要查看 TivaWare 包中的 SPI_MASTER.c 示例代码、该示例代码位于[安装路径]\TivaWare_C_Series-2.1.4.178\examples\peripherals\SSI