Other Parts Discussed in Thread: BQEVSW
Tool/software: Code Composer Studio
I'm using Atmega128 and BQ34Z10 and I2C .
I config circuit as "www.mikrocontroller.net/.../339243".
I think, I don't need to connect SRP, SRN in my circuit. so I currently didn't connect SRP, SRN.
I supplied 12V in my circuit.
I changed setting value of BQ34Z110 with measurement voltage range of BQ34Z110 is 14400mv and Battery measurement capacity is 2900mA/H.
I want to read battery voltage.
I followed example 1 in Using I2C Communications.pdf for reading battery voltage.
I sent data as below sequence to BQ34Z110.
Startbit --- 0xAA --- 0x08 --- Repeated START --- 0xAB --- Data Read(LSB) --- Data Read(MSB) --- End I2C
I received LSB is 18(decimals) and MSB is 255(decimals).
I think, Those value is error value.
why do I receive error value?