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.

MSP430 code for interfacing with the bq24745

Other Parts Discussed in Thread: BQ24745, MSP430F1611

This request is related to the BQ24745 Bench Test software problem already issued on this site.

Since I could not run the evaluation software properly, I decided to interface the bq24745 to an MSP430F1611 microntroller. I succeeded to interface with the I2C module of  this MCU but only to transmit data into the bq24745 chip. The module responds to commands that are transferred to it , and it properly regulates its output  at the specified parameters.

The problem I have is when I attemp to read the different registers (chargeVoltage and chargeCurrent) from the chip, The chip responds to the read command but always provides 0 as data. The chip is really forcing 0s on the SMBus since the SDA data line would naturally be pulled up at 3V, if the bq24745 would not respond to the command.

It is probably a timing issue, and it may take a certain time before I find out where this timing problem resides.

Is there any available MSP430 firmware code available for interfacing with the bq24745 so that I could flash it in the MCU. 

Also, will the bq24745 wil give the acutal measurements of  the current and voltage, or simply replies the already programmed settings. It would be suitable for my application, to get the real measurements of the current and voltage, so that I could eliminate redundant electronic on the final application for these measurements . These measurements are necessary for the battery charge algorythm that runs in the MCU.