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.

28035的I2C问题

我在使用28035的I2C时,设置了CNNT的值为2,然后发送了两个数据,最后都发送了STOP,可是CNNT还是2.  这个CNNT不是计数功能吗?

 

按照技术资料,STOP也会根据这个CNNT是否清零来产生的。

  • 是指I2CCNT吧,这个不是计数器,这只是寄存器。

    具体的可以检索一下,I2C user guide,里面有说明。