Other Parts Discussed in Thread: LAUNCHXL-TMS57004
Tool/software: Code Composer Studio
Good afternoon,
We have been working with the BQ79606A and recently we have tryed to upload the Example code, using the micro TMS57004, as we are supposed to. The initiation of the code works well, because the BQ wakes up correctly, the problem comes when trying to read the values of each's cell voltage. As we have understood the code should return this values without any modification, but our program just reads 0 V on each cell. One problem we have noticed is that the array "response frame" in sys_main.c has a constant value of 0 and we think that this shouldn't be at 0, should it?
Also, we don't understand how does the ReadReg function work, because in the bq79606.c it is defined in order to always return 7 (because bLen is 1), so how can we see the actual value of what we're trying to read?
Best regards,
Alex