This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OPT3101-SDK: There are bugs in OPT3101-SDK

Part Number: OPT3101-SDK

Hi team,

Our customer feedback that there are 2 bugs in OPT3101-SDK, please help confirm them:

First bug:

File: OPT3101_Functions.cpp Line 1061

this->calibration-findCommonCrosstalkScale(&this->calibration->illumCrosstalk[0][0], this >configurationFlags_isTXchannelActive, this->configurationFlags_isTXChannelActive);

The customer points out that the second parameter should be this->configurationFlags_isRegisterSetActive?

The second bug:

File: OPT3101_Calibration.cpp 48 ~ 60 lines

As long as the coefficient of coffQ or coffI is negative, coffQReg or coffIReg will get 0, and the compensation will not take effect. However, as shown in the calibration document zhcu660.pdf, both coffI and coffQ may be negative. What is the correct calculation formula of coffQReg and coffIReg? At present, it is obvious that a negative coefficient will lead to ineffective compensation