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.
大家好、TI 社区、
我想知道 FIFO 到底是如何用于 SPI 的。 我将查看 controlSUITE 中的示例代码。 我知道写入 SPI 传输缓冲区将写入 FIFO。 然后 FIFO 写入 SPI 移位寄存器、首先发送 MSB 位。 假设我使用 for 循环对传输缓冲区执行三个写入操作、例如:
for (i=0;i<3;i++)
{
SPI_xmit (SPI、sdata[i]);
}
假设
void SPI_xmit (volatile struct spi_regs * SPI、uint16 a)
{
(* SPI).SPITXBUF = A;
}
芯片是否能理解、在每次写入 FIFO 的语句之后、下一次传输函数写入都要及时写入? 还是会导致时序问题?