Quantcast
Viewing all articles
Browse latest Browse all 35901

BQ3060 I2C interface with dsPIC33

Hi,

I have just had a battery pack dumped on my desk with the instructions to get the data read from the batteries through SMbus. I was only given the datasheet of the BQ3060, which is the power management chip on the circuit board of the pack. [The pack is labelled "Samsung Cells" , Li-Ion 10.8V, IML1170] . Output of the pack reads Pack+, P+, SMD, SMC, T, P-, Pack-. 

I have never dealt with battery management before and our products work with Microchip dsPIC devices. I know that SMBus is a subset of I2C and I can initialize the PIC i'm using with SMBus levels and speed.

I connected the SMD and SMC outputs of the battery pack (which are the SMD and SMC of the BQ3060) directly to the corresponding I2C pins of the PIC.
From what I read on the datasheets, BQ3060 works on a slave address of 0x16. However, I did not find anywhere what I expect back from the BQ3060 as and Acknowledge or data. I tried to send a simple "Quick Message" of  Start, Address,R/W and waited for an Acknowledge that never came.

The commands I sent from the I2C module of the PIC are:

-> Start  ( ~~~~\____ )                   

-> Address + Read (0x17) 

-> Wait for Acknowledge (I expect here for an acknowledge to be sent by the BQ3060 and set the I2C ACK bit of the module, but this never arrives).

-> Stop ( ___/~~~~ )

Is there a specific command which can tell me if the BQ3060 is ON or not? There is 6.9V on the BAT and the Pack pins, I assume connected to the battery pack.

I apologise for the simple questions which might be too simple, but I have never used this kind of product before, or the SMBus portocol. I have looked at the datasheets available (SLUU319/507/502/132) but I cannot find the simple answer I am looking for....if in fact it is that simple. 

thanks for your help

Mario


Viewing all articles
Browse latest Browse all 35901

Trending Articles