BQ79616-Q1: Example Code refactoring for Arduino

Part Number: BQ79616-Q1
Other Parts Discussed in Thread: BQ79616

Tool/software:

Hello TI expert, 

I am trying to prototype the BQ79616 for an upcoming BMS and would like to know the easiest way to refactor the example code that works for the Hercules TMS570LS12x MCU to work on an Arduino UNO R4. I am only interested in this working across UART. I do not have prior experience in C and so any help with the quickest way to make the code work with a different MCU would be incredibly helpful. Also let me know if it is impossible to do in a reasonable time Laughing.

Thank you, 

Jeremy

  • Jeremy,

    Our sample code is not supposed to be compatible with any other MCUs. It is just an example of how a system might be setup using a Hercules MCU with our devices. Arduino is not a TI product and we do not support it.

    If you must interface with our devices with an Arduino, I would recommended looking into how (or even if) the Arduino generates UART signals and what UART signals need to sent to and received from the BQ79616 (you can find this in section 9.3.6.1.1.1 of the datasheet). This will need to be done essentially from scratch.

    Regards,

    Ben

  • Thanks Ben, I'll be getting a Hercules MCU.