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

BQ34110EVM-796: Wrong I2C Data Flash read. Need to offset by one?

$
0
0

Part Number:BQ34110EVM-796

Hi,

I'm currently testing an I2C interface with an MSP430 and the bq34110 on the BQ34110EVM-796 board and I'm at the step of reading from / writing to the Data Flash (DF). I was not able to write to the Manufacturer Info Block A01 and reading the same data from it, so I just tried reading from another register in the DF.

I tried reading the Int Coeff 3 register (address 0x41C5) by following the steps in slua790 (section Data Flash Access for the bq34110 and bq35100). Since I haven't done any modifications to the chip, i'd be supposed to read the default value, i.e 0xCFDC (-12324). However, I get 0xDC17 instead. Here is the I2C sequence :

I found that the 0x17 is the first byte of the default value of the next register, so I tried reading from 0x41C4 (instead of 0x41C5) and I got the right value:

Is this a bug or am I doing something wrong in my I2C sequence? Will I need to apply this offset when writing to the DF and when writing the CHECKSUM + LEN?

Thank you,

Fred


Viewing all articles
Browse latest Browse all 35901

Trending Articles



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