I tried to do calibration with the TOF sensor,
This is the internal crosstalk, illumination crosstalks I got, with photodiode covered, and I store them into registers 2F, 30, 31, 32 accordingly.
---------------------- Crosstalk Class Report 0 ---------------------- I=-13819 Q=1998 xtalkScale=0 illumXtalk=0 illumScale=0 illumDac=0 tmain=0 tillum=0 shiftIllumPhase=0 commonScale=0 Magnitude= ---------------------- ---------------------- Crosstalk Class Report 1 ---------------------- I=-22995 Q=19589 xtalkScale=0 illumXtalk=1 illumScale=0 illumDac=2 tmain=2320 tillum=2461 shiftIllumPhase=0 commonScale=0 Magnitude= ---------------------- ---------------------- Crosstalk Class Report 2 ---------------------- I=-16560 Q=10523 xtalkScale=0 illumXtalk=1 illumScale=2 illumDac=1 tmain=2320 tillum=2461 shiftIllumPhase=0 commonScale=0 Magnitude= ----------------------
Later I do the phase offset calibration, with the photodiode uncovered, and I store the values into registers 42, 51 accordingly.
------------------------- Phase Offset Class Report-1 ------------------------- phaseOffset=46267 referenceDistanceInCodes=0 illumScale=0 illumDac=0 illumDCdac=0 freqCount=16384 shiftIllumPhase=0 data= ----------------------- ------------------------- Phase Offset Class Report 2 ------------------------- phaseOffset=15637 referenceDistanceInCodes=0 illumScale=2 illumDac=1 illumDCdac=0 freqCount=16384 shiftIllumPhase=0 data= -----------------------
Then I started to do frame capture, but the phase reading is very unstable, jumping between zero to 65,000, when I tried to move my hand in front of the sensor.
The phase reading is stable but not correct, around 14,000, when nothing is in front of the sensor.
I did not do temperature and ambient calibration, and have disabled those corrections.