最近在学习论坛里C6657的SPI例程,有几点不懂(下图),希望能得到解答,谢谢!
1.代码中三次写入SPIDAT0为何能触发接收溢出中断?
2.三次写入数据后延时有何作用?
3.接收满中断与接收溢出中断区别是什么?如何产生接收满中断?
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.
最近在学习论坛里C6657的SPI例程,有几点不懂(下图),希望能得到解答,谢谢!
1.代码中三次写入SPIDAT0为何能触发接收溢出中断?
2.三次写入数据后延时有何作用?
3.接收满中断与接收溢出中断区别是什么?如何产生接收满中断?
你好,
问题解决了没有?这个问题细节已经反馈给相应工程师了,有消息我给你答复。
谢谢。
你好,
A receiver overrun interrupt occurs when a receive operation completes before the previous character has been read from the receive buffer, indicating that the previous character has been overwritten and therefore lost.
A receiver full interrupt occurs when a word is received and copied into SPIBUF.
Refer to the SPI Register Descriptions in the KeyStone SPI user's guide for more information: www.ti.com/.../sprugp2a.pdf