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.

TM4C123 I2C Slave Mode 时的ACK信号

当I2C工作在SLAVE模式时,如果寄存器I2CSACLCTL中的位ACKOEN为0,ACK信号是硬件自动产生;位ACKOEN设为1后,SLAVE收到数据后,需要通过软件写位ACKOVAL来产生ACK信号,否则SCL信号线被一直拉为低电平。是这样吗?

  • Bruce

    I2CSACKCTL寄存器是一个手动设置ACK和NACK的寄存器,如果使能,在最后一位传输完成之后,SCL线会被拉低,知道相应的值被写到ACKOVAL位