Other Parts Discussed in Thread: OPT3101
Hi,
As mentioned in a previous thread, there are 2 bugs in the SDK
"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."
The first bug has been confirmed to be wrong in the SDK. What about the second bug? What is the correct calculation formula for coffQReg and CoffIReg?
Thanks in advance,
Olga