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

BQ34Z100-G1: BQ34Z100-G1: Breaking up long I2C write into multiple smaller chunks

$
0
0

Part Number:BQ34Z100-G1

In my .df.fs file, a few lines have very long  write, for example below is one line of the df.fs file:

W: 16 00 02 00 00 00 EA FF 33 B1 FA 33 6C FB 33 95 FE 33 AD FE 33 FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F 16 00 3F 58 CB 33 C3 00 08 11 00 00 00 00 00 FF AA 0E FB A7 0E FF A6 0E FF A1 0E FF A0 0E FE A3 0E 61 A2 0E DE FF 3A 65 FF 3A E2 FF 33 FF AF 0E

which means

WRITE: to device address 0x16 at register 0x00 the data sequence above.

As you can see, the data sequence is rather long.  Now if I would like to break the above sequence into smaller chunks, what should I do? 

Should I just keep writing to register address 0x00?  Or I have to increment register 0x00 accordingly based only how much data I have been writing?

Usually, I can break any long I2C write into smaller chunks and increment the register address accordingly, but I am not sure how the BQ34Z100 will

handle this in ROM mode.

Thanks.


Viewing all articles
Browse latest Browse all 35901

Trending Articles



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