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.

MSP432P401R的I2C模块不产生START信号问题

如题:

程序中应用到了EUSCI_B0的I2C模式,应用示例代码[examples\nortos\MSP_EXP432P401R\driverlib\i2c_master_rw_repeated_start-master_code]中的读写中断方式。

程序卡死在了读I2C_masterSendMultibyteStart函数中的

while (BITBAND_PERI(EUSCI_B_CMSIS(moduleInstance)->CTLW0,
EUSCI_B_CTLW0_TXSTT_OFS)
|| !BITBAND_PERI(EUSCI_B_CMSIS(moduleInstance)->IFG,
EUSCI_B_IFG_TXIFG0_OFS));

调试时,查看CTLW0和IFG寄存器,STT位长时置1, TXIFG0位长时为0. 

其它条件:MSP432作主机,从机地址为0x1F。  不知问题出在何处?