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 位。