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.

CCS/BQ79606A-EXAMPLE-CODE: BQ79606A-EXAMPLE-CODE

Part Number: BQ79606A-EXAMPLE-CODE
Other Parts Discussed in Thread: BQ79606A-Q1, TMS570LS0432

Tool/software: Code Composer Studio

hello,

I have uploaded the example code provided by TI to TMS570LS0432 launchpad and connected the BQ79606A-Q1 IC .  when i debugged the code ( main.c ) i was able to read the cell voltages perfectly . Now, i want to include the over voltage and undervoltage protections and if this OV UV condition occurs , my BMS has to cutt-off the output supply and display a " FAULT " . Can i get some suggestions regarding the above. And may i know indetail in which part of the code should i make changes for this . iam new to TI processors.

Thank you

  • Hello Kavuri,

    Can you clarify what you mean by having your BMS cut off the output supply? The BQ79606A-Q1 is only a monitor, so it's not able to control the supply that it monitors. Do you have other devices connected to your MCU? Also, where do you want to disconnect the supply?

    Best Regards,

  • i want to configure GPIO of MCU and control the CFET and DFET ( i.e using gate driver ) when the OV UV OT fault occurs. iam planning to implement cell balancing and also wanted to interface current measurement sensor to MCU for SOC estimation . Finally iam planning to interface a small LCD display to MCU to display SOC value , current measurement,  fault conditions . i request you to help me , as in which part of example code has to be changed and the main function for the above mentioned. I see that that all the faults are masked in main function,  may i know how to unmask and configure the protections and display the corresponding fault when i debug the code.

    Thank you 

  • Hi Kavuri,

    Thank you for your clarifications. The best way to disconnect the supply is to use the MCU's GPIOs. As I mentioned, the BQ79606A-Q1 is only a monitor device. Please reach out to the MCU team if you need help configuring the GPIOs.

    If you want to make any changes to the BQ79606 configuration, you can do that in the sys_main.c file. Unless you want to create some additional .c or .h files to create additional functions, you'll make all of your changes in sys_main.c. Check out registers 0x29 through 0x2B for the OV/UV configurations. You can unmask the OV/UV faults with registers 0x03 and 0x04. Read the CELL_OVUV register field in the FAULT_SUMMARY register (address 0x206) to determine if there has been an OV/UV fault. You can also enable the NFAULT pin and monitor this with the MCU's GPIO to determine if there has been a fault. You can make sure that NFAULT is enabled by writing a 1 to the NFAULT_EN register field in the COMM_CTRL register (addr 0x20). NFAULT will pull low to indicate unmasked faults.

    Best Regards,

  • Thankyou so much sir for the support