I'm trying to read the voltage registers of the bq34z100-G1 but i am confused about the command sequence.
I am using SMBus in Python. It should be simple but there is something "simple" I don't undersatnd
so far i2cdetect shows the chip.I have as a code the following guess
import smbus
b=smbus.SMBus(1)
# Command format i think is; write_byte_data(Device address,Register,Command)
DEVADR=0x55
write_byte_data(DEVADR,0xAA,0x08) # This fails with io error and still need to write the next byte command
# Could try a block write - what should it be
# Need to write second byte how is this done?
b.read_i2c_Block_data(DEVADR,0xAB,32)
#this produces value but not sure what
Can someone suggest what it might be?