cancel
Showing results for 
Search instead for 
Did you mean: 

VD6281 overexposure read value

Mks1
Associate II

Hi All,

I am trying to implement VD6281 readout layer and I do struggle with quite random '0' return value with relatively intense light exposure.
The implemented script automatically adjust sensor gain. For relatively high register values [15..12] what correspond to gain equal to 1 and lower (basically attenuation) - used for intense light exposure - sensor returns 0 and trigger script gain increase what causes algorithm latch.

For instance, readouts with the same light exposure:
Ch: 0 gain: 13 value: 2649333 calc value: 2649333
Ch: 1 gain: 13 value: 0 calc value: 0  (ought to be :value 1097992 and  calc value: 1097992)
Ch: 2 gain: 13 value: 1139807 calc value: 1139807
Ch: 3 gain: 13 value: 3132285 calc value: 3132285
Ch: 4 gain: 13 value: 7223551 calc value: 7223551
Ch: 5 gain: 13 value: 7223551 calc value: 7223551

And the different gain:
Ch: 0 gain: 12 value: 3211258 calc value: 2569006
Ch: 1 gain: 12 value: 1372490 calc value: 1097992
Ch: 2 gain: 12 value: 1323700 calc value: 1058960
Ch: 3 gain: 12 value: 3862291 calc value: 3089832
Ch: 4 gain: 12 value: 7223551 calc value: 5778840
Ch: 5 gain: 12 value: 7223551 calc value: 5778840

Changing internal exposure time or read request period doesn't change the behaviour.

Logs with the same light source and different exposure are attached.

Any ideas how to proceed with debugging?

Best,
Mat





0 REPLIES 0