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.

BQ79600EVM: BQ79600_UART_Sample_Code not functional with two BQ79616 eval boards daisy-chained together

Part Number: BQ79600EVM
Other Parts Discussed in Thread: BQ79616

Tool/software:

Hello,

We obtained the package from TI:

In the package, there is:

We then were able to have the sample code running on our LAUNCHXL2-TMS57012 eval board, which is connected to the BQ79600 eval board, and then to the BQ79616 eval boards. We then observed that when only one BQ79616 eval board is connected, all 16 cell voltage values can be read correctly.

Our question is: How should the sample code be revised, so we can connect two BQ79616 eval boards (daisy-chained) to the BQ79600 eval board, and be able to observe the 16 cell voltage values measured correctly, from both BQ79616 eval boards?

Please advise. Thank you. 

  • Hi John,

    Could you please show your code and setup? Please ensure the TotalBoards is configured correctly.

    Best Regards,

    John

  • Hi John D,

    Thank you for your reply. The best way for me to show the code, is to provide the CCS project as a .zip file, which is attached here. Our setup is, again: LAUNCHXL2-TMS57012 eval board connected to BQ79600 eval board, which is then connected to the BQ79616 eval boards (daisy-chained, if more than one board).

    In bq79616.h of the sample code, I see TOTALBOARDS already defined as 2, and BNRIDGEDEVICE currently defined as 1. How should the code be revised, so it can work with 2 BQ79616 eval boards?

    Please let me know your thoughts. Thanks.

    John LBQ79600_UART_Sample_Code_ForTIsupport.zip

  • Hi John L,

    Please set TOTALBOARDS as 3, as it includes both bridge and stack.

    Best Regards,

    John

  • Hi John D,

    Thank you so much for the feedback, and now I can see both BQ79616 boards reading back all 16 cell voltage measurement values correctly!

    By the way, our next step is to connect the single BQ79631 eval board to the BQ79600 board, and try to read back the 16 voltage measurement values. May I have your suggestions on how to proceed on that?

    Thanks again.

    John L

  • Hi John L,

    BQ79631 should have the same ADC registers as BQ79616, so there shouldn't be much change in code. However, sample code doesn't have many functions regarding current sensing etc. so you would have to manually write and read to configure device.

    Best,

    John