Hi,
I'm currently doing a student research project that is based on the development of a battery management system with active cell balancing methods. For this, I am using the bq78PL116EVM evaluation module together with a TMS320F28335 microcontroller on the TMS320 docking station. Connecting the bq78PL116EVM to a PC via the TI USB-to-GPIO adapter works fine, but I want to develop a software, that is independent from the USB-to-GPIO adapter, using the I2C-port of the F28335 to read specific battery pack parameters such as pack voltage, current or single cell voltages or also, to toggle the wired bit.
I already searched a lot for understanding the I2C/SMBus-protocol, but I only found generalized information on this. My problem is to convert all those informations into raw C-code to implement a working SMBus-communication between the microcontroller and the bq78PL116.
I'd like to ask, if there is some example code to implement the SMBus-protocol?
I'd really appreciate if someone could help me with this.
Thanks in advance for your help.
Jonas.