I am following the current calibration steps given in the Calibration manual. I am reading the CC2 counts middle two bytes from the READ_CAL1 subcommand. The current readings are not updated.
I: Number of bytes read 14
I: buf_data[0]: 10
I: buf_data[1]: ff
I: buf_data[2]: ff
I: buf_data[3]: ff
I: buf_data[4]: 0
I: buf_data[5]: 0
I: buf_data[6]: 0
I: buf_data[7]: 0
I: buf_data[8]: b8
I: buf_data[9]: c7
I: buf_data[10]: c8
I: buf_data[11]: 3f
This is the reading of the READ_CAL1 subcommand. After waiting for 2 minutes I executed the command again and still the same reading. The "Calibration Data Counter" in the first two bytes have not been incremented.
The reading of the middle two bytes is always -1.
Where am I going wrong??
This is my code to read the READ_CAL1 subcommand: