background image

1

SLUUBQ2C – July 2017 – Revised April 2019

Submit Documentation Feedback

Copyright © 2017–2019, Texas Instruments Incorporated

Getting Started with the BQ79606A-Q1 GUI

User's Guide

SLUUBQ2C – July 2017 – Revised April 2019

Getting Started with the BQ79606A-Q1 GUI

This document provides a guide to install, setup and use the BQ79606A-Q1 graphical user's interface
(GUI). In this document only the basic functionalities of the GUI will be documented with the intent of
reducing the time needed to become familiar with the GUI.

Contents

1

Getting Started

..............................................................................................................

3

1.1

Download the GUI

..................................................................................................

3

1.2

Setup and Connect the BQ79606A EVM

.......................................................................

3

2

Communications Tab

.......................................................................................................

4

2.1

Opening the GUI

...................................................................................................

4

2.2

Basics

................................................................................................................

7

3

Cell Voltage Monitor Tab (ADC Config)

................................................................................

10

3.1

One Shot ADC Configuration and Readings Configuration

.................................................

10

3.2

Continuous ADC Configuration and Readings Configuration

...............................................

11

3.3

Cell Voltage Data Logging

.......................................................................................

13

4

AUX ADC Monitor Tab

....................................................................................................

13

4.1

ADC Configuration

................................................................................................

13

4.2

AUX ADC Selection

..............................................................................................

13

4.3

Absolute/Ratiometric Selection

.................................................................................

14

4.4

AUX_CELL Configuration

.......................................................................................

14

5

Cell Balancing

..............................................................................................................

14

5.1

Balancing Configuration

.........................................................................................

14

5.2

Balancing Status

..................................................................................................

15

6

GPIO/SPI Master

..........................................................................................................

16

6.1

GPIO Configuration and Set GPIO Output High/Low

........................................................

16

6.2

SPI Master

.........................................................................................................

16

7

Registers

....................................................................................................................

17

7.1

Bit Level Register Map

...........................................................................................

17

8

Protectors

...................................................................................................................

19

8.1

Protector Configuration and OV/UV/OT/UT Selection

........................................................

19

8.2

OV/UV/ and OT/UT Reset

........................................................................................

21

9

Faults

........................................................................................................................

22

10

Status

.......................................................................................................................

22

11

Command Sequence and Advanced Comms

.........................................................................

23

11.1

Advance Comm Tab

.............................................................................................

23

11.2

Command Sequence Tab

.......................................................................................

25

12

Troubleshooting

............................................................................................................

27

12.1

Troubleshooting for GUI communications

.....................................................................

27

12.2

General troubleshooting for device recognition

...............................................................

27

List of Figures

1

Placing .bqz filte into the BatteryManagementStudio/config Director

.................................................

3

2

FTDI Cable

...................................................................................................................

4

3

Selecting Monitor After Opening bqStudio

..............................................................................

5

4

Selecting bq79606.bqz File

................................................................................................

6

5

Communications Tab

.......................................................................................................

7

Summary of Contents for BQ79606A-Q1

Page 1: ...C Configuration and Readings Configuration 11 3 3 Cell Voltage Data Logging 13 4 AUX ADC Monitor Tab 13 4 1 ADC Configuration 13 4 2 AUX ADC Selection 13 4 3 Absolute Ratiometric Selection 14 4 4 AUX_CELL Configuration 14 5 Cell Balancing 14 5 1 Balancing Configuration 14 5 2 Balancing Status 15 6 GPIO SPI Master 16 6 1 GPIO Configuration and Set GPIO Output High Low 16 6 2 SPI Master 16 7 Registe...

Page 2: ...dings 12 16 Polling ADC Readings in Continuous Mode 13 17 AUX ADC Selection 14 18 Cell Balancing Tab 15 19 Cell Balancing Completed 15 20 GPIO High Low Testing 16 21 SPI Master Command Frame Change 16 22 SPI Master Configuration 17 23 Registers 18 24 Enable TSREF 19 25 Disable OVUV and OTUT 20 26 Configuration of OVUV OTUT 20 27 Enable OVUV and OTUT 21 28 OVUV and OTUT Reset 21 29 Fault Summary 22...

Page 3: ...d into typically the C Drive 4 Place the Monitor_1_03 bq79606 bqz file into the config directory C ti BatteryManagementStudio config as shown in Figure 1 Figure 1 Placing bqz filte into the BatteryManagementStudio config Director Once completed continue to Section 1 2 1 2 Setup and Connect the BQ79606A EVM Before connecting the bq79606EVM please refer to the EVM user s guide to ensure the EVM is c...

Page 4: ...be set to Stack The bq79606EVM should be connected to a minimum of 3 cells with all unused VC connections shorted to the highest cell Connect COMMH header J6 of the base device to COMML header J5 of the next highest stack device Repeat for all stacked devices 2 Communications Tab 2 1 Opening the GUI After installing follow these next steps to open the GUI 1 Launch bqStudio and select Monitor as se...

Page 5: ...2C July 2017 Revised April 2019 Submit Documentation Feedback Copyright 2017 2019 Texas Instruments Incorporated Getting Started with the BQ79606A Q1 GUI Figure 3 Selecting Monitor After Opening bqStudio 2 Select bq79606 as seen in Figure 4 ...

Page 6: ...ents Incorporated Getting Started with the BQ79606A Q1 GUI Figure 4 Selecting bq79606 bqz File 1 Reach communication tab opening screen shown in Figure 5 If the screen is showing this then the GUI has successfully been opened However before running auto addressing there will be no data in the Device Communication Information section ...

Page 7: ...oose the communication type to be used For most cases the default broadcast choice will suffice it will work for a single device or stacked devices 2 2 2 Device Addressing Device addressing configures the start and end address for auto addressing or configures GPIO addressing Before beginning any other portion of the guide ensure that the device s have been correctly auto addressed using the Run A...

Page 8: ... mode Also sends Comm reset break command Stack Shutdown To send a shutdown call to all devices use the Control1 Register s Send SHUTDOWN Next Device command followed by the UART Pulse Control s SHUTDOWN Base command Figure 7 This sets the shutdown command bits and then calls the shutdown pulse Figure 7 Stack Shutdown Sleep to Active If the device is left active without any commands for an extende...

Page 9: ...and Exiting Sleep When using the Set Goto SLEEP command you can wake the device using the Send SLEEPtoACTIVE Pulse Number 1 in Figure 10 is the button to set the device into sleep mode while 2 is used for waking the devices back up Figure 10 Sleep and Exiting Sleep 2 2 4 UART Configuration The UART configuration displays GUI communication status COMM OK baud rate and UART communication setting as ...

Page 10: ... COMH L TX RX are enabled as shown in Figure 12 Once the desired boxes are selected then press the Write button Figure 12 Daisy Chain Configuration 3 Cell Voltage Monitor Tab ADC Config 3 1 One Shot ADC Configuration and Readings Configuration 1 Configure CELL channels and the ADC in available fields Figure 13 a Select ADC Delay Decimation Ratio ADC Frequency Cell Conversion Interval and LP Corner...

Page 11: ...ing cell voltages click START ADC MEASUREMENT and read the registers again to update cell voltages Figure 14 Updating Cell Voltage Registers 3 2 Continuous ADC Configuration and Readings Configuration 1 Configure CELL channels and the ADC in available fields a Select ADC Delay Decimation Ratio ADC Frequency Cell Conversion Interval and LP Corner Frequency b Select desired cells to sample under CEL...

Page 12: ...he ADC values will be stored in their respective registers and are ready to be read a Click read to update cell values b Values will be read in as a voltage or alternatively as a two bye Hex value c VCELLX_F contains cell values after the ADC output filter d VCELLX contains corrected cell values before the ADC output filter e To continue updating cell voltages click Read again to update cell volta...

Page 13: ... ADC configuration configures the AUX ADC frequency and decimation ratio Only press the START ADC MEASUREMENTS button after the desired AUX Selection and Absolute Ratiometric Selections have been chosen and written to the devices Decimation Ratio is 256 by default and ADC Frequency is 1 MHz by default 4 2 AUX ADC Selection The AUX ADC selects channels for the AUX ADC to measure All AUX ADC channel...

Page 14: ...ation Configures the device to provide a secondary cell measurement system To allow for secondary measurement of a battery cell first choose the desired AUX Cell Selection from the dropdown press the Write command button select the AUX_CELL_SEL_EN checkbox and finally press the Write command button once more This should allow for the AUX_CELL column in the Device Information section at the bottom ...

Page 15: ...ll expire before the Duty Cycle timer If at any point in time an individual cell reaches the Balance UV Threshold that particular cell will no longer balance when it s respective bank turns on For example each Cell X Balance Time can be set to a total of 50 seconds and the Duty Cycle Time programmed to 30 seconds with a balancing sequence of Odds then Evens Programming the Balance UV Threshold and...

Page 16: ... section of the GUI 2 in Figure 20 Press the Write command button at the top of the screen to update the devices 3 in Figure 20 The resultant GPIO values can be viewed using the GPIO_STAT 0x262 GPIO Input Status section at the bottom of the GUI after the Read button has been pressed 4 in Figure 20 The enable for TSREF is on the far right side of the page Click the box if configuring for NTC monito...

Page 17: ...ng are correct There is loopback functionality provided by the Enable Loopback checkbox as well as boxes for transmitting receiving the SPI data 2 in Figure 22 You may send 1 byte of data over SPI by writing the desired byte in the SPI Transmit box in hex 3 in Figure 22 Then use the Execute SPI Single Device Only button to send receive the data 4 in Figure 22 Figure 22 SPI Master Configuration 7 R...

Page 18: ...gisters can be updated on a bit by bit basis by simply clicking on the desired bits to flip Registers can also be updated by entering specific hex values in the Value Hex column 3 in Figure 23 Once the desired registers are modified the device can be updated by using the Write All Registers button or for an individual register change by using the Write Selected Register 4 in Figure 23 The entire r...

Page 19: ...n ADC failure 8 1 Protector Configuration and OV UV OT UT Selection Configures OT UT OV UV thresholds modes and deglitch times Instructions to properly configure the Protector Tab 1 Enable TSREF a Go to Advanced Comm tab b Choose Broadcast Write for Command c Write 106 for Register Address Hex d Write 10 for Bytes to Write Hex e Press Send Command Figure 24 Enable TSREF 2 Disable OVUV and OTUT if ...

Page 20: ...lso set the OVUV and TEMP Deglitch duration times as well as the OVUV and OTUT Modes 2 in Figure 26 b Set the OVUV CELL and OTUT GPIO Selection boxes 3 in Figure 26 c Write the configuration to the device using the Write button at the top DO NOT check Enable OVUV or Enable OTUT until you have written your configuration to the device s 3 in Figure 26 Figure 26 Configuration of OVUV OTUT 4 Enable OV...

Page 21: ...rom 0 7 V to 3 875 V both in steps of 25 mV 8 2 OV UV and OT UT Reset Selects channels to reset faults To reset OVUV OTUT faults 1 Disable OVUV and OTUT if they are enabled a Use the Read button a in Figure 25 b Uncheck Enable OVUV and Enable OTUT if they are enabled b in Figure 25 c Use the Write button c in Figure 25 2 Check the OVUV Cells and OTUT GPIOs you would like to reset under the OVUV CE...

Page 22: ...ight side of the GUI Here each fault register address and value is provided Each fault can be masked unmasked or reset on the right side of the GUI by pressing the corresponding checkbox the using the Write All command at the top of the GUI Figure 29 Fault Summary 10 Status A Read displays a list of device addresses and the status register for each device as shown in Figure 30 The Status tab provi...

Page 23: ... Registers 11 Command Sequence and Advanced Comms 11 1 Advance Comm Tab Master Control Panel Allows the user to send raw hex commands to the base device Read Command Reads can be up to 128 bytes and called as a single device read broadcast read or stack read A range of registers can be read by simply choosing the starting register address the number of bytes to read and sending the command Follow ...

Page 24: ...ed as a single device write broadcast write stack write or reverse direction broadcast write Figure 32 Write Command A range of registers can be written to by simply choosing the starting register address then writing enough bytes in the Bytes to Write section to fill the desired range as seen in Figure 32 or Figure 33 For instance if you choose Register Address 10E then provide 82828282 in the By...

Page 25: ...ces of commands to be executed saved and executed again at a later time To begin generating command sequences start by choosing a command type from the dropdown menu 1 in Figure 34 typing the number of bytes to read write and press the Generate Command Frame Header If a write command has been chosen add the desired hex values to the end of the generated command frame header 2 in Figure 34 Ensure t...

Page 26: ...ton Saved command sequences can also be stored within the GUI as a button under the Command Frame Sequence File Assignment Buttons section This allows complex user created command sequences to be loaded with a single button press Once a user has generated a command sequence file as explained in the above section this file can be saved to one of the 8 buttons provided Simply press an Unassigned but...

Page 27: ... cables 5 Open bqStudio 12 2 General troubleshooting for device recognition 1 Ensure all jumpers are correctly placed as outlined in the EVM User s Guide This includes ensuring jumpers J2 and J3 are connected if using the battery stack resistor ladder to supply power for the EVM Also ensure that SW1 is set properly to base or stack 2 Ensure that the device lower in the stack is connected using its...

Page 28: ...se resources are subject to change without notice TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource Other reproduction and display of these resources is prohibited No license is granted to any other TI intellectual property right or to any third party intellectual property right TI disclaims responsibility for...

Reviews: