最近用i2c接口配置外部芯片。发现单次读没问题,但是如果把代码改成循环读同一个寄存器,第二次读会有问题。
第二次读时数据可以读出来,但是master端最后没有给出stop信号。导致程序跑不出来,死等在SetupI2CReception函数的while(flag);
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.