TI中文支持网
TI专业的中文技术问题搜集分享网站

CC2640R2F SPI

你好,我在CC2640R2F技术手册上看到了TI-的SPI外设他是每传输一个字节片选引脚都会拉高:

For a single-word transmission after all bits of the data word are transferred, the SSIn_FSS line is returned
to its IDLE high state one SSIn_CLK period after the last bit is captured.
For continuous back-to-back transmissions, the SSIn_FSS signal must pulse high between each data
word transfer because the slave-select pin freezes the data in its serial peripheral register and does not
allow altering of the data if the SPH bit is clear. The master device must raise the SSIn_FSS pin of the
slave device between each data transfer to enable the serial peripheral data write. When the continuous
transfer completes, the SSIn_FSS pin is returned to its IDLE state one SSIn_CLK period after the last bit
is captured.

,但是我没有在SPICC26XXDMA_transfer()看到片选信号拉高的操作。这样不会造成寄存器中的数据冻结吗?因为要连续写操作,我要确保每次写入的数据有效,就要在每个字节拉高片选引脚,如果有片选信号拉高的操作,那么实际存在那个函数呢?

Viki Shi:

硬件自动控制,你可以用TI的SPI例程实测一下

赞(0)
未经允许不得转载:TI中文支持网 » CC2640R2F SPI
分享到: 更多 (0)