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.

BQ34Z100: BQ34Z100 to MSP430

Part Number: BQ34Z100
Other Parts Discussed in Thread: MSP430WARE

Hi 

I work this i2c by sending command from MSP430 to BQ34Z100.

It is a get voltage command and i have attach syntax on the figure 1.

I can see "0xAA  0x08" in the figure 2 as salve address and voltage.

I can see "0xAB" as SR in the figure 3

and the data return is "0x38 0x02" in figure 3 third and forth byte, and i also can read from the program for the data.

And I send a NACK from my program and it look ok from my program.

HWREG16(baseAddress + OFS_UCBxCTLW0) |= UCTXNACK;

However, when I send a STOP command and it fail in my program. 

HWREG16(baseAddress + OFS_UCBxCTLW0) |= UCTXSTP;

HWREG16(baseAddress + OFS_UCBxCTLW0) & UCTXSTT is always set

And i can't see it in the scope either

is there anything that i miss here?

Thanks in advance