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.

[参考译文] CC2652R:SPI 从器件上的 ISR 接收到1帧

Guru**** 2464110 points
Other Parts Discussed in Thread: CC2652RSIP

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

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/1197911/cc2652r-isr-on-spi-slave-received-1-frame

器件型号:CC2652R

您好!

我使用 CC2652RSIP 作为 SPI 从设备来接收数据帧(每个字节1个)。

由于它只有1个字节、因此我在接收到1个字节后尝试实现 ISR。  

到目前为止、在我看来、仅使用 SPI 外设是不可能的。 是否有任何选项可以避免使用 DMA?

谢谢、Ivan

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

    您好、Ivan、

    可以使用 spi_mode_callback 将 spiTransaction 计数设置为一个字节。  请参阅 SPI.h TI 驱动程序运行时 API。  DMA 不会干扰此操作。

    此致、
    Ryan