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.

MSP430G2553 的USCI B0 实现IIC 问题

Dear TI's fellows:

        我用MSP430G2553  的USCI B0  其IIC 与另一个芯片通信。向其发送数据 ,再把它读出来。

发送代码如下:我没想用中断,请看看有什么问题。

另外用的P1.6 ,P1.7 在初始化代码里设置为

P1SEL |= BIT6 + BIT7; //p1.6->scl,p1.7->sda
P1SEL2 |= BIT6 +BIT7;