I'm trying to learn how to program a battery charging IC (BQ24193) via the I2C communication protocol. My goal is to write the correct values to it in order to gain the proper charging input and output current (I will be using an arduino to program this if that matters).
When going through the datasheet, what I don't understand is the actual address of the slave and the address of the register. Talking to a Texas Instrument engineer, he said that the address given in the datasheet is the address for the register 6BH (which I am assuming is just 0x6B). He also said the the slave address is sent after the start condition. So I have no idea what that means since I always thought the slave address value was given in the datasheet.
So the questions I have: How on earth do I, the programmer, get the slave address in order to write to the IC? How do I write to a specific register if all of the registers have the value 6BH?
Any help would be appreciated. Thanks.