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.

msp432 SPI接收中断问题

你好,我准备将从串口接收到的命令通过spi发送给从机,同时接收从机返回的数据。命令共有6位,如果我串口中断接收到一位,spi发送一位,这样正常运行。如果我想等串口接收完6位后,再用spi发送,spi接收中断只在第六位接收完成后进去一次,我直接用线将spi发送接收口连在一起,也是同样效果。

通过示波器抓取波形分析,发送的数据与时钟对应关系正常,6个数据都已成功发送。问题是spi接收中断只进去了一次,这是为什么?   

官方SDK ,我下载了3个不同版本,这spi中断也是醉了,延时程式可以这样写吗?我猜TI工程师打盹了,请看下图