SLVAE86B september   2019  – august 2023 BQ75614-Q1 , BQ79612-Q1 , BQ79614-Q1 , BQ79616 , BQ79616-Q1 , BQ79631-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. Command Frames
    1. 1.1 Structure
      1. 1.1.1 Initialization Byte
      2. 1.1.2 Device ID Address
      3. 1.1.3 Register Address
      4. 1.1.4 Data
      5. 1.1.5 CRC
    2. 1.2 Command Frame Template Tables
    3. 1.3 ReadReg and WriteReg Functions
      1. 1.3.1 ReadReg
      2. 1.3.2 WriteReg
      3. 1.3.3 Packet Types Available in Sample Code
  5. Quick Start Guide
  6. Wake Sequence
  7. Auto-Addressing
    1. 4.1 Steps
    2. 4.2 Example Commands for ThreeDevices
  8. Read Cell Voltages
    1. 5.1 Steps
    2. 5.2 Example Commands for ThreeDevices
    3. 5.3 Convert to Voltages
  9. Cell Balancing
    1. 6.1 Steps
    2. 6.2 Example Commands
  10. OVUV
    1. 7.1 Steps
  11. OTUT
    1. 8.1 Steps
  12. Reverse Addressing
    1. 9.1 Steps
    2. 9.2 Example Commands for ThreeDevices
  13. 10Revision History

Example Commands for ThreeDevices

D0 03 4C 00 FC 24       //Step 1 (from above description) 
D0 03 09 01 0F 74       //Step 2 
D0 03 06 00 CB 44       //Step 3 (device 0) 
D0 03 06 01 0A 84       //Step 3 (device 1) 
D0 03 06 02 4A 85       //Step 3 (device 2) 
D0 03 08 02 4E E5       //Step 4 
90 00 03 08 00 13 DD    //Step 6 (base device) 
90 02 03 08 03 52 64    //Step 6 (top of stack) 
C0 03 4C 00 F8 E4       //Step 7
        

Explanation of first broadcast write command frame (D0 03 4C 00 FC 24):

  • D0 = broadcast write of one byte
  • 034C = register address
  • 00 = write value 0x00
  • FC24 = CRC

Explanation of first single device write command frame (90 00 03 08 00 13 DD):

  • 90 = single device write of one byte
  • 00 = device address
  • 0308 = register address
  • 00 = write value 0x00
  • 13DD = CRC

Explanation of first broadcast read command frame (C0 03 4C 00 F8 E4):

  • C0 = broadcast read
  • 034C = register address
  • 00 = read one byte of data
  • F8E4 = CRC