Tool/software:
Hello,
I am trying to establish communication via I2C with the BQ76905 and the STM32L5xx Series. I have initalised the I2C1 line via CubeMX and am now trying to read cell voltages from the IC. I am using the functions provided by the code examples. However, everytime I try to use the DirectCommand to read or write, I keep falling into the error loop. In order to know if the command to read was executed correctly, I trigger a GPIO Pin (connected to the Oscillocope) to see if it worked, and it always fails.
PACK1I2C is defined correctly. I created a new project just to test this I2C communication and it does not work.
Any help or advice to move forward would be very much appreciated. I have been stuck here for a couple of days now. Thank you guys.