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.
工具与软件:
嗯。
Im 我的控制器存在2个 SPI、名为 A 和 B
他们是独立的吗?
阅读 TMS320F28035数据表、例如 SPIFFRX 与 SPIA 或 SPIB 相关、
具有相同的名称、而不是它们具有不同的地址(?)。
当我等待数据接收时、我会:
//
//等待接收到数据
//
while (SpiaRegs.SPIFFRX.bit.RXFFST!=1)
{
}
RDATA = SpiaRegs。 SPIRXBUF;
但这是 SPI A 还是 SPI B?
Enzo
我对我说。
我没有注意到 注册名中的"A": SpiaRegs.
当然、 对于 SPI B 甚至还有寄存器 SpibRegs