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.

TM4C123GH6PGE SSI接收数据问题



使用该芯片的SSI模块接收文件,函数为

r = SSIDataGetNonBlocking(SSI1_Base,&num[0]);

使用示波器观察SSICLK引脚,发现其在执行发送函数时,有时钟波形出现,而执行如上的接收函数时,没有时钟波形出现

但debug发现num【0】的值已经被修改为0,整数r的值也变为1;

而当前编程需要在接收阶段也有波形输出。

这是为什么?或者我可能出错的地方在哪里?求各位指教。