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.

MSP430FR5738 I2C Slave RX Mode, 主机发送地址时,MSP430不能产生正确的ACK信号

Other Parts Discussed in Thread: MSP430FR5738

  UCB0CTLW0 |= UCSWRST;  //reset I2C Module  

UCB0CTLW0 |= UCMODE_3 + UCSYNC;  //I2C Slave

 UCB0I2COA0 = SLAVE_ADDRESS;   

//Set P1.6 & P1.7 on I2C MODE  

P1SEL1 |= BIT6 + BIT7;  

P1SEL0 &= ~BIT6;  P1SEL0 &= ~BIT7;    

UCB0CTLW0 &= ~UCSWRST;  //reset I2C Module  

UCB0IE__I2C |= UCTXIE0 + UCRXIE0 + UCSTTIE + UCSTPIE; //Enable I2C INTERRUPT

 

上面是对MSP430FR5738 I2C模式的初始化。初始化完成后,主机发送S+ADDR+W,MSP430不能产生ACK信号。查看430内部寄存器UCB0ADDRX,已经收到了正确的地址,但没有产生ACK信号,请问是什么原因