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.

CC2541的协议栈中SPI中断有问题?

Other Parts Discussed in Thread: CC2541

我的CC2541的SPI是作为从机、用中断方式接收数据的。

当主机用1M的速率给CC2541发送数据时,数据会出错。

而当主机用1M的速率、但每个字节后延时约250us再发送CC2541时,数据正常。

问题:CC2541的SPI在协议栈下用中断是不是有问题?我觉得250us的延时太久了,原因是因为协议栈本身经常进临界区导致的吗?

这个问题纠结很久了没有解决,望大家指教!谢谢!