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.

bq34z100-G1 EVM LED display

Other Parts Discussed in Thread: BQ34Z100-G1, BQSTUDIO, BQEVSW, BQ34Z100

Hi, 

I have some questions regarding the bq34z100-G1 EVM LED display.

I would like to set it up for 4 LEDs display mode. I have jumpers on J1, A,B,C,D of J6. 

I have a battery connected to the EVM and it is about half full.

I pressed the LED display button but didn't see any LED lit up. 

Do I need to connect the EVM to my computer and set the gauge to 4 LEDs display mode via TI Battery Management Studio software? What is the default setting for the EVM?

Second question:

"Setting Bit 3, LED_ON, will cause the LED display to be always on, except in Single LED mode where it is not applicable. When clear (default), the LED pattern will only be displayed after holding an LED display button for one to two seconds."

Let's say I want the LED display to be always on, so I set the bit 3. If I run out of battery or disconnect and reconnect my battery, will I need to reconfigure the LED display setting?

Third question:

The LED hold time is ranged from 0 to 255 and the default setting is 4. Can you clarify what is the "NUM" unit? Does setting LED hold time to 255 make the LEDs always on?  

Thank you for your help,

Jeff

  • Another observation I made from the EVM. When the LED button is pressed, I only measured 0.065V at the VEN pin and the button is released, the voltage at VEN pin is dropped to 0 again. Is this a normal voltage level?

    Thanks,

    Jeff

  • Hi,

    I realized that the default setting for the gauge does not display LED (LED_Comm = 1 at default). I also realized that it's not possible to set the gauge to four LED mode when I am using I2C communication because P3 and P4 are also the SDA and SCL lines. So I set the LED_Comm Configuration register to value DEC 2 (Single LED mode) via battery management tool.

    I held the LED button for more than 2 seconds but still don't see LED D8 turn on. Again, I have jumpers on J1 and A of J6.

    Is there anything else that I am missing?

    Thank you for the help!

    Jeff
  • You do need to set the LED Configuration register to 02 to enable the 4-LED mode. You can set it to 0C to have the LED turn on continuously and you do not have to enter the data again if you reset the gauge. Also, note that you must use HDQ mode when using the 4-LED mode. You cannot use the I2C bus.
  • Yes, the 0.065V may be expected. The gauge uses a sink current to enable the LED.
  • Will the 4-LEDs mode work if the gauge is still in I2C configuration but without I2C bus connected to the host? Can I configure the gauge to enable 4-LEDs mode and LED tun on continuously, disconnect the I2C bus from host and expect the 4-LEDs mode to work? Thanks!
  • You have to send the command to convert the gauge to HDQ mode (0x7C40). The 4-LED mode will not work when the I2C mode is enabled.
  • Ok. Thank you for your prompt reply!
  • Hi Thomas,

    I tried using the "I2C to HDQ" button in bqStudio but received a error message: Could not create the view: com/ti/evswsdk/targetinfo/TargetInfoItems. Do you know what is this?

    How do i send command to convert the gauge to HDQ mode using the bqStudio software?

    Thanks,
    Jeff
  • You should write 7C40 to the Control register. There is a section covering this in the datasheet.
  • Hi Thomas, 

    Section 8.3.15.6.1 of the datasheet covers the instruction for converting from I2C mode to HDQ mode. The procedure looks very straight forward but I am still having trouble writing data [0x7C40] to Control value field.

    Here is what I did:

    1. I navigated to Register Screen and double click on the control value field.

    2. I then typed 0x7C40 and enter (I can't not find the "OK" button as described in the datasheet). 

    According to the datasheet instruction, the conversion suppose to complete in about 200ms. However, it seems that the data was never written into the register. I clicked the refresh button in the Register screen and the control register value is back to 0x0014. 

    Maybe you can help me to locate the "OK" button?

    Thanks,

    Jeff

     

  • You should see a pop-up window, if you click the data field one time.

  • For some reasons, I do not see a pop up window when I click the data field one time.

    I am currently using bqStudio 1.3.45 and I chose the following for the battery gauge (auto detected device: 0100_0_06). Please let me know if you see any problem. Thanks!

  • That is one problem. You have the old bq34z100 firmware loaded and bqStudio does not support it. You need to update the firmware to the bq34z100-G1 and the firmware can be downloaded from the bq34z100-G1 website. If you want to continue using the bq34z100 firmware, then you will need to use the bqEVSW platform instead of bqStudio. Also, the older device does not have a temporary switch to HDQ mode option.

    One the popup window issue, you can also use the Advanced Comm screen to enter the data.