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.
DSP通过I2C通信与ZLG72128芯片互传数据。在调试过程中发现,I2C通信会不定时的结束发送,且不能恢复,具体情形如下:
1,当其他任务中断开启时,且在I2C的写函数中,将I2C的MDR寄存器的STT位先置1,再将STP位置1,会出现发送几十帧数据后停止发送。(将其他任务中断关闭后,I2C通信收发均不出现故障)
2,当其他任务中断开启时,且在I2C的写函数中,将I2C的MDR寄存器的STP位先置1,再将STT位置1,I2C通信收发均不出现故障
3, 当其他任务中断开启时,且在I2C的写函数中,将I2C的MDR寄存器的STT位先置1,加入一定延时后,再将STP位置1,I2C通信收发均不出现故障