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: 在测量相位偏差时,禁用tx通道切换,禁用hdr后,读取的信息发现,依然可以切换

Part Number: OPT3101-SDK
Other Parts Discussed in Thread: OPT3101

SDK version:release_0p9p1

SDK zip:sbac203b

问题代码位置:

file:OPT3101_SDK\OPT3101device_Functions.cpp 

line:925 

funtion:

void OPT3101::device::measurePhaseOffset(OPT3101::phaseOffsetC *phaseOffset, uint8_t txChannel, char registerSet, uint16_t refDistanceInCodes,uint8_t shiftIllumPhase) {

这里已经禁用了TX CH切换,hdr

但是测量结果中

tx通道依然发生了变化(白色为希望读取的通道,蓝色为实际读取到的通道)

PS:已经在测量前后重新读取过配置的寄存器,确认前面的禁用是有效的