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.

BQ79612-Q1: BQ79612-Q1

Part Number: BQ79612-Q1
Other Parts Discussed in Thread: USB2ANY, , BQ79616

1) I want to control the battery management system I have installed with the 2 pieces bq79612-Q1 by using bqautoeval and usb2any. However, some data about the battery needs to be transmitted to the ground station via wireless connection. What should I do in this situation.

2)Can I use USB2any with microprocessor such as Arduino Mega?

3) Can I transfer data to both usb2any and a arduino mega by using two BQ79600s?

4)If I disconnect the USB2ANY card connected to the BQ79600 after coding it on the computer via USB connection, will it continue to work? Do I need to provide extra external power or is the 3.3V power in the 10-pin configuration sufficient to operate it?

  • Hi Mustafa,

    However, some data about the battery needs to be transmitted to the ground station via wireless connection.

    Assuming the wireless connection is to your computer and it can be communicated to through javascript, the bqautoeval software has a javascript scripting function. Go to the top-hand toolbar: tools > Scripting. This opens the .js file in the software's "scripting" folder. Through the .js file, you can send commands to the IC and store variables. To send commands, I recommend looking in the CustomSPIInterface.js or customUARTInterface.js for how the software sends commands. Below is a description for read commands found in the CustomUARTInterface:

    Here is for write commands:

    These commands are for if the CRC has not already been defined, but there are multiple other examples that can be looked at such as cell balancing time:

    If you are sending a write/broadcast write command and  you already know the CRC, the following write command can be used:

    Multiple read commands make reference to this command to gather the response:

    2)Can I use USB2any with microprocessor such as Arduino Mega?

    The USB2ANY and Arduino Mega cannot talk at the same time, but as long as they relinquish control of communication before the other starts communicating then they can coexist.

    3) Can I transfer data to both usb2any and a arduino mega by using two BQ79600s?

    No there can only be one base device for each stack. Similar to the answer above, the USB2ANY would need to send its read command, stop communicating, and then the arduino Mega would need to send its read command.

    4)If I disconnect the USB2ANY card connected to the BQ79600 after coding it on the computer via USB connection, will it continue to work? Do I need to provide extra external power or is the 3.3V power in the 10-pin configuration sufficient to operate it?

    No the USB2ANY will stop working. In terms of providing an extra external power source to continue operating the USB2ANY after disconnecting from the computer, I would recommend looking into the USB2ANY datasheet as that is not a feature our team encounters as the USB2ANY is mostly for prototyping the BQ796XX series before moving on to programming a microcontroller to replace the USB2ANY.

    Regards,

    David

  • Thank you for your answer. Based on your answers, other questions arose in my mind.

    1) bqautoeval software says that there must be a usb2any connection between the BQ79600 and the computer. How will communication between the bq79600 and the computer take place in case of wireless connection? I mean, where should the transmitters be connected in the above diagram shown in the datasheet of the bq79616?

    2) Can I use any microprocessor and receiver instead of USB2ANY and still use bqautoeval software wirelessly?

    3)After encoding BQ79612 with USB2ANY, is its task finished? So should I disable it and connect another microprocessor instead?(acording your answer for my previous 4th question)

  • Hi Mustafa,

    1) bqautoeval software says that there must be a usb2any connection between the BQ79600 and the computer. How will communication between the bq79600 and the computer take place in case of wireless connection? I mean, where should the transmitters be connected in the above diagram shown in the datasheet of the bq79616?

    For wireless communication between the bq79600 and other devices, the CC2662R is used as the bq79600 does not have a way to send wireless signals by itself. The procedure I was describing was if you wanted to communicate from the computer to the BQ79600 with the USB2ANY and then relay that data from the computer to another computer. If you are wanting the USB2ANY to send signals to another device besides the BQ79600, then another post should be created on the USB2ANY to receive support on creating that application.

    2) Can I use any microprocessor and receiver instead of USB2ANY and still use bqautoeval software wirelessly?

    No, the BQautoeval software is programmed to interface with the USB2ANY. If you would like to use a different microprocessor and receiver, then you would have to develop your own code to either interface with the javascript of the bqautoeval software or create your own application/interface to report data to the computer.

    3)After encoding BQ79612 with USB2ANY, is its task finished? So should I disable it and connect another microprocessor instead?(acording your answer for my previous 4th question)

    Are you referring to programming the 612's OTP registers? Any microcontroller with UART can perform this task. the usb2any is just an easy way to setup the 612 EVM to understand what all the IC can do without having to code anything via C. Feel free to connect another microprocessor via the RX and TX lines of the isolator any time you would want to test your microprocessor's program on reading, and writing to registers.

    Regards,

    David