I am using the bq25798 Battery Management IC in a custom design.
I want to write to the Registers to enable the internal ADC to measure some values of the charging-process.
I have a functioning I2C-Communication with a microcontroller and I am able to read register values.
But as I see it I am not able to write to the bq25798 as every time I check the state of the Watchdog Timer it says expired.
So i think that I am always in the Default Mode because then, as I read in the datasheet, the Watchdog-Timer is always expired and the registers are at default values.
The datasheet says that any I2C-Write will enter the Host Mode but for me this doesn't work.
So how can I actually enter the Host-Mode to change register values?
And how can I change the register values? Do I just have to send the address of the bq25798 with register address and register value in one I2C data transfer?
I would higly appreciate a quick reply!
Thank you in advance!
Jonas Weichinger