请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TMS570LS0914 主题中讨论的其他器件:HALCOGEN
您好!
请说明我们如何通过 SPI 使用8位缓冲器来传输多个字节
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.
您好!
请说明我们如何通过 SPI 使用8位缓冲器来传输多个字节
尊敬的 Poonam:
HalCOGen 可以生成 SPI 驱动程序供您配置 SPI 模块和 TX/RX 数据。 API spiTransmitData(...) 使用轮询方法和 API spiSendData(...)从源缓冲区中传输数据的块大小数量 使用中断方法从源缓冲区发送块大小数据数。
如果 SPI 器件要求 在几个 连续的数据字传输期间片选信号持续保持有效、您可以 在当前数据控制字段中启用 CSHOLD 位。