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.

BQ28Z610: read write sequences

Part Number: BQ28Z610
May someone help me to understand the read and write sequences to write a register, to write and read by AltAccess() to write and read DataFlash by AltAccess()
  • Hi,

    Take a look at the following pdf, it explains how I2C communication is performed using our gauges.

    www.ti.com/.../slua467b.pdf

    Hope this helps,
  • Hello, thanks for reply.

    Really, I have already tried to look forward the existing literature and absolutely the SLUA476B was one of the first I have read.
    I have been confused by the SLUUA65B because firstly at para 12.1 declares that write and read are exactly with bit 0 opposite to the I2C standard.

    Then also how to write in the BQ memory is not so clear, or how to reset seal/unseal, what is the difference between unseal and full access ....

    And again, is it necessary to write CHKSUM and length ad 0x0060 every time we want to write BQ by the AltAccess()?

    and further one, are CHKSUM and length produced at any read operation due by AltAccess()?

    Is it necessary to read all MAC block or is it possible to read the bytes expected and CHKSUM+length only?

    Yes, reading the literature more an more, things appear clearer, but aside the texts, some drawings similar to SLUA476B would be welcomed a lot.
  • Hi Maurizio

    Only few certain commands are available in sealed mode. In unseal mode most commands are avialble.   However, you need to be in full access mode to be able to program the gauge with the firmware.Pls see TRM for commands that are accessible in sealed and unsealed modes.

    Pls see example in the link on how to make changes in DF via I2C

    3487.changing data flash parameters.msg

    thanks

    Onyx

  • Thanks also for this information, Onyx.

    But reading the .msg left me more astonished.
    The SLUUA65B, page 83, point 12.2.45, states that to write DataFlash it is simply needed to write data into the Flash memory by AltAccess() command.
    The example in the .msg is done also writing CHKSUM and length, twice.

    Maybe it will be better I wait until I have the EV2300 and EVM to understand how to write the SW for the controller.....
  • After to have tried using EV2300, everything has become clear.
    Also that the SLUUA65B is not clear as epected ...... :)
    Thanks all, in any case, information has been useful to understand better.