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 与BQ76940 DEMO板IIC无法通信

Other Parts Discussed in Thread: BQ76940

MSP430G2553BQ76940  DEMO板IIC无法通信

1、硬件采用MSP430G2553 demo板(launchpad)和BQ76940  DEMO板

2、编译环境采用IAR5.3 FORMSP430 ,程序下载的TI官网上BQ76940目录下的例程

3、开发设计处于方案样机阶段

4、调试过程中单步运行程序停在下面函数

int I2CSendBytes(unsigned char I2CSlaveAddress, unsigned char *DataBuffer, unsigned int ByteCount, unsigned int *SentByte)

中的下面的位置

while(DelayCounter < DELAY_LIMIT && (!(IFG2 & UCB0TXIFG) || (UCB0CTL1 & UCTXSTT))) //check if the byte has been sent   

{     DelayCounter++;    }

5、BQ7694003芯片是带地址8 带CRC TI官网例程能否配合开发板直接用?