I try to get some measurement from the sensor.
I call calibrationSession_firstTimeBringUp() and I get these:
----------------------
Crosstalk Class Report
----------------------
I=0
Q=0
xtalkScale=0
illumXtalk=0
illumScale=0
illumDac=0
tmain=0
tillum=0
shiftIllumPhase=0
commonScale=0
Magnitude=
----------------------
----------------------
Crosstalk Class Report
----------------------
I=0
Q=0
xtalkScale=0
illumXtalk=1
illumScale=0
illumDac=25
tmain=0
tillum=1792
shiftIllumPhase=0
commonScale=0
Magnitude=
----------------------
----------------------
Crosstalk Class Report
----------------------
I=0
Q=0
xtalkScale=0
illumXtalk=1
illumScale=0
illumDac=31
tmain=0
tillum=1792
shiftIllumPhase=0
commonScale=0
Magnitude=
----------------------
Then I call a modified calibration function by fixing the temperature at 25, I got these. The phase number is always 0 whether I put something in front of the sensor or not.
----------------------------
Phase Temp Coff Class Report
----------------------------
coff=
coffReg=0
commonScale=0
----------------------------
-----------------------
Frame data Class Report
-----------------------
phase=0
phaseovl=0
phaseovlf2=0
ambovl=0
illumDac=0
ledChannel=0
frameStatus=0
dealiasFreq=0
frameCounter=0
amplitude=0
sigovl=0
dealiasBin=0
ambient=0
temp=0
tmain=0
tillum=1792
-----------------------
I notice that there is a function that trigger the phase offset measurement, but reference distance is always 0 when it is called in those calibration functions.
this->measurePhaseOffset(&this->calibration->phaseOffset[indx++], c0, c1 ? 'h' : 'l', refDistanceInCodes)
If I want to use it to measure distance, what reference distance I should put?