Quantcast
Channel: Power management forum - Recent Threads
Viewing all articles
Browse latest Browse all 35901

Trouble communicating to BQ27542EVM via I2C

$
0
0

Hello TI Community!

I recently received a BQ27542EVM. We have yet to receive our EV2400 module.

I have written an I2C driver running on a PIC24 which is sending commands as described in the BQ27542 ref manual. (i.e. CONTROL 0x00 LSB sent first) Should I be getting a response or do I have to use BQstudio to configure the gauge first? 

I assumed that certain sub commands should work regardless of the configuration such as HW_VERSION, FW_VERSION and VOLTAGE. 

Currently I get intermittent results when sending commands to the gauge. Occasionally I will get a response of 0xFF when sending a VOLTAGE command (0x08) 

Assuming my I2C is correct, (when no gauge is hooked up the pulse train looks like an I2C text book example without ACKs from a slave device) shouldn't I be able to simply read voltage, device type, fw version etc? I should mention that I do have a 3.7 V Li 1.8Ah cell hooked up to the evm. 

I have been looking at the following documents:

SLUUB79- evm document

SLUUB65- ref manual to BQ

SLUSC33- BQ27542 data sheet

SLUA467B - I2C explanation (this one really cleared up confusion about writing commands and should be in the reference manual in my opinion, not a separate document)

Steve


Viewing all articles
Browse latest Browse all 35901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>