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.

[参考译文] TMS570LC4357:读取24位数据长度的 SPI 数据

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/910804/tms570lc4357-read-spi-data-with-24-bit-data-length

器件型号:TMS570LC4357
主题中讨论的其他器件:ADS1274

您好,

我想使用 SPI 从 ADS1274读取 DOUT。  
 由于 ADS1274使用 24位数据长度作为 SPI 通信、但 TMS570LC4357仅支持16位数据长度。
如何配置 TMS570LC4357从 ADS1274读取数据 ? 是否有任何示例代码?
谢谢!
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Yiying、您好!

    您可以使用8位字符对24位 SPI 器件进行读取/写入。 请设置 CSHOLD 位、这样 SPICS 在一个字(8位)完成后不会失效。