VL53l1X - can I fix used number of SPAD's
I use a VL53l1X looking trough a oil layer of ca. 20 mm. When getting measured distance 3 times with GetResult(), it returns (example):
Status = 0, dist = 11, Ambient = 16, Signal = 20936, #ofSpads = 6
Status = 0, dist = 19, Ambient = 8, Signal = 18104, #ofSpads = 6
Status = 0, dist = 38, Ambient = 16, Signal = 15864, #ofSpads = 19
--> some 'magic' automatic changed the NrOfSpads from 6 to 19, which also affects the measured distance. When I set the NrOfSpads with VL53L1X_Status_t VL53L1X_SetROI(uint16_t X, uint16_t Y);, this only limits the maximal used NrOfSpads, but it's further possible that the sensor switches to a lower NrOfSpads autonomous.
How can I force the sensor to use a defined NrOfSpads?
