SLUAA17A August   2020  – October 2023 BQ79600-Q1

 

  1.   1
  2.   BQ79600-Q1 Software Design Reference
  3.   Trademarks
  4. 1Command 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 Read Register and Write Register Functions
      1. 1.3.1 ReadReg/SpiReadReg
      2. 1.3.2 WriteReg/SPIWriteReg
      3. 1.3.3 Packet Types Available in Sample Code
  5. 2Quick Start Guide
    1. 2.1 Wake Sequence
    2. 2.2 Auto-Addressing
      1. 2.2.1 Steps
      2. 2.2.2 Example Commands for a Stack of 3 Devices
    3. 2.3 Read Cell Voltages
      1. 2.3.1 Steps
      2. 2.3.2 Example Commands for a Stack of 3 Devices
      3. 2.3.3 Convert to Voltages
    4. 2.4 Reverse Addressing
      1. 2.4.1 Steps
      2. 2.4.2 Example Commands for a Stack of Three Devices
  6. 3Revision History

Wake Sequence

When using UART, the wake ping is applied by the microcontroller to the MOSI/RX pin of the BQ79600-Q1 device by pulling the line low for 2.75 ms.

When using SPI, the microcontroller must pull the nCS line low, wait 2 µs, pull the MOSI/RX line low for a duration of 2.75 ms and pull it back high, wait 2 µs, and finally pull nCS pin high again.

To wake the device:

  1. Send a wake ping (as described above).
  2. Wait at least 3.5 ms.
  3. Send a single device write to BQ79600-Q1 to set CONTROL1[SEND_WAKE]=1, which wakes up all stacked devices.

    90 00 03 09 20 13 95       //Step 3 (wake up stacked devices) 
  4. Wait appropriate time to allow all devices to receive the WAKE tone and enter ACTIVE mode. To calculate the total time to wait, add the WAKE tone durantion (~1.6 ms) plus the time to enter ACTIVE mode (~10 ms) and multiply the result by the number of stacked BQ7961X-Q1 devices.

Note:

If BQ79600-Q1 device is shut down through SHUTDOWN ping, the COMH RX and COML RX are disabled at next wake up. In such case, on step 1, host needs to first send a WAKE ping, wait at least 3.5 ms and then send a second WAKE ping. COMH RX and COML RX will be enabled after the second WAKE ping. Then proceed with steps 2 to 4.